Cannot install on tegra processor jetson TX2
See original GitHub issueHi,
I wanted to use Librosa on TX2, I have llvm 3.8 on jetson
`Building wheels for collected packages: llvmlite Running setup.py bdist_wheel for llvmlite … error Complete output from command /usr/bin/python -u -c “import setuptools, tokenize;file=‘/tmp/pip-install-wnX_gp/llvmlite/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d /tmp/pip-wheel-AwKwkG --python-tag cp27: running bdist_wheel /usr/bin/python /tmp/pip-install-wnX_gp/llvmlite/ffi/build.py LLVM version… 3.8.0
Traceback (most recent call last): File “/tmp/pip-install-wnX_gp/llvmlite/ffi/build.py”, line 143, in <module> main() File “/tmp/pip-install-wnX_gp/llvmlite/ffi/build.py”, line 133, in main main_posix(‘linux’, ‘.so’) File “/tmp/pip-install-wnX_gp/llvmlite/ffi/build.py”, line 105, in main_posix raise RuntimeError(msg) RuntimeError: Building llvmlite requires LLVM 6.0.x. Be sure to set LLVM_CONFIG to the right executable path. Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
error: command ‘/usr/bin/python’ failed with exit status 1
Failed building wheel for llvmlite Running setup.py clean for llvmlite Failed to build llvmlite Installing collected packages: llvmlite, numba, audioread, resampy, scikit-learn, joblib, librosa Running setup.py install for llvmlite … error Complete output from command /usr/bin/python -u -c “import setuptools, tokenize;file=‘/tmp/pip-install-wnX_gp/llvmlite/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-record-EbjXKZ/install-record.txt --single-version-externally-managed --compile: running install running build got version from file /tmp/pip-install-wnX_gp/llvmlite/llvmlite/_version.py {‘version’: ‘0.23.0’, ‘full’: ‘a924507857937369bdeb795a0f2d0a85ee27a0c1’} running build_ext /usr/bin/python /tmp/pip-install-wnX_gp/llvmlite/ffi/build.py LLVM version… 3.8.0
Traceback (most recent call last):
File "/tmp/pip-install-wnX_gp/llvmlite/ffi/build.py", line 143, in <module>
main()
File "/tmp/pip-install-wnX_gp/llvmlite/ffi/build.py", line 133, in main
main_posix('linux', '.so')
File "/tmp/pip-install-wnX_gp/llvmlite/ffi/build.py", line 105, in main_posix
raise RuntimeError(msg)
RuntimeError: Building llvmlite requires LLVM 6.0.x. Be sure to set LLVM_CONFIG to the right executable path.
Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.
error: command '/usr/bin/python' failed with exit status 1
`
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)

Top Related StackOverflow Question
Use a usb disk, need 32G free space, compile the LLVM 6.0.x on TX2, after compile finished, set LLVM_CONFIG , then pip install …
llvmlite numba and librosa will be successfully installed
yeah, we are considering adding a SATA SSD to our Jetson TX2 build/test system because of the space limitations with the built-in flash storage.