cant install on Jetson NX
See original GitHub issueHello,
I am trying to install to brand new jetpack 4.4.1 after I failed to install jetpack 4.5. I am having the same error as below as i run the scrpits/install_jetson.sh ` aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -O3 -DNDEBUG -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_DONT_USE_CHRONO=1 -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_CURAND=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.6m -c src/cpp/cuda.cpp -o build/temp.linux-aarch64-3.6/src/cpp/cuda.o In file included from src/cpp/cuda.cpp:4:0: src/cpp/cuda.hpp:14:10: fatal error: cuda.h: No such file or directory #include <cuda.h> ^~~~~~~~ compilation terminated. error: command ‘aarch64-linux-gnu-gcc’ failed with exit status 1
----------------------------------------
Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=‘/tmp/pip-build-_0us3so5/pycuda/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-qv5g4rvr-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-build-_0us3so5/pycuda/ `
Any idea how to solve it?
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
If you have issue with TensorFlow you don’t have to build it since it’s optional. You can comment out this line in install_jetson.sh: https://github.com/GeekAlexis/FastMOT/blob/2cc9812deabc40f7713c3f1196f727244054167a/scripts/install_jetson.sh#L18 See https://github.com/GeekAlexis/FastMOT/issues/47#issuecomment-830354215 for xlocale.h issues.
yeah thanks See #47 (comment) for xlocale.h issues. solved the problem.