I tried to install librosa on AGX, and before install librosa I installed llvm, llvmlite and numba first.
But I encountered this problem when I installed numba.
how can i solve it? Thanks a lot!
My AXG is running on L4T 32.5.1[ Jetpack4.5.1 ]
erichong@erichong-AGX:~$ pip3 install numba
Defaulting to user installation because normal site-packages is not writeable
Collecting numba
Using cached numba-0.53.1.tar.gz (2.2 MB)
Requirement already satisfied: llvmlite<0.37,>=0.36.0rc1 in ./.local/lib/python3.6/site-packages (from numba) (0.36.0)
Requirement already satisfied: numpy>=1.15 in ./.local/lib/python3.6/site-packages (from numba) (1.19.5)
Requirement already satisfied: setuptools in ./.local/lib/python3.6/site-packages (from numba) (56.2.0)
Building wheels for collected packages: numba
Building wheel for numba (setup.py) … error
ERROR: Command errored out with exit status -4:
command: /usr/bin/python3 -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ bdist_wheel -d /tmp/pip-wheel-7xy5b1_h
cwd: /tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/
Complete output (0 lines):
ERROR: Failed building wheel for numba
Running setup.py clean for numba
ERROR: Command errored out with exit status -4:
command: /usr/bin/python3 -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ clean --all
cwd: /tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1
Complete output (0 lines):
ERROR: Failed cleaning build dir for numba
Failed to build numba
Installing collected packages: numba
Running setup.py install for numba … error
ERROR: Command errored out with exit status -4:
command: /usr/bin/python3 -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’“‘))’ install --record /tmp/pip-record-i2pz2ohf/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/erichong/.local/include/python3.6m/numba
cwd: /tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/
Complete output (0 lines):
----------------------------------------
ERROR: Command errored out with exit status -4: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '”‘"’/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-u_306dpe/numba_3e08439b7b80417ca7e897abd2cdf4f1/setup.py’“'”‘;f = getattr(tokenize, ‘"’“‘open’”’“‘, open)(file) if os.path.exists(file) else io.StringIO(’”‘“‘from setuptools import setup; setup()’”’“‘);code = f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ install --record /tmp/pip-record-i2pz2ohf/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/erichong/.local/include/python3.6m/numba Check the logs for full command output.