Cannot install on tegra processor jetson TX2
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 372
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 10
Description
Hi,
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
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
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
`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing llvmlite/ffi/build.py and the documented build requirements linked in the error, then reproduce the pip installation on a Jetson TX2 with LLVM 3.8. Determine whether the supported installation path can work in this environment; done means the documented installation succeeds without the LLVM version error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100