question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install on tegra processor jetson TX2

See original GitHub issue

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 <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:open
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Cat-31commented, Aug 27, 2018

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

0reactions
seibertcommented, Aug 31, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jetson TX2: Pytorch install problem - NVIDIA Developer Forums
I tried to install pytorch on my TX2, such as Install procedure for pyTorch on NVIDIA Jetson TX1/TX2 with JetPack <= 3.2.1.
Read more >
jetson-stats - PyPI
jetson -stats is a package for monitoring and control your NVIDIA Jetson [Xavier NX, Nano, AGX Xavier, TX1, TX2] Works with all NVIDIA...
Read more >
NVIDIA Jetson TX2 L4T Security Updates for CPU Speculative ...
Security Bulletin: NVIDIA Jetson TX2 L4T Security Updates for CPU Speculative Side Channel Vulnerabilities. Updated 09/29/2021 01:08 PM ...
Read more >
Compiling Jetson TX1/TX2 source code - Embedded Linux
Learn about compiling Tegra source code for Jetson TX1 and TX2. ... 5.1 Build Kernel; 5.2 Flashing the Tegra; 5.3 Installing DTB.
Read more >
Install CuDNN on Jetson TX2 - balena Forums
I have followed this guide to install CUDA on my Jetson TX2. ... cannot determine CPU frequency 2021-06-16 07:55:36.863235: I ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found