An error when I install "jetson-inference"

Due to the network, it has not been possible to install by running “git clone --recursive --depth=1 https://github.com/dusty-nv/jetson-inference”, There is always a message that some paths cannot be found. so I downloaded a complete" jetson-inference “package from the Internet, and ran” git submodule update --init ", “cmake”, “make install” and so on based on this package. when I run “make install”,the following error message is displayed:

CMake Error at utils/python/bindings_python_2.7/cmake_install.cmake:89 (file):
file INSTALL cannot find
“/home/djq/workstation/jetson-inference/utils/python/bindings/…/python/jetson”.
Call Stack (most recent call first):
utils/python/cmake_install.cmake:74 (include)
utils/cmake_install.cmake:380 (include)
cmake_install.cmake:128 (include)
Makefile:117: recipe for target ‘install’ failed
make: *** [install] Error 1

Hi @djqabcdefg, when you cloned jetson-inference repo, did you clone it with the --recursive flag? If not, can you run git submodule update --init?

Also, is your filesystem partition formatted as ext3/ext4 and not NTFS?

Due to the network, it has not been possible to install by running “git clone --recursive --depth=1 GitHub - dusty-nv/jetson-inference: Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.”, so I downloaded a complete" jetson-inference “package from the Internet, and ran” git submodule update --init ", “cmake”, “make install” and so on based on this package. The above error is displayed when I run “make install”

Is there any other solution, such as manually downloading certain files to a specific location

OK gotcha - so if the copy you cloned was to a Windows or NTFS drive, then it would have the same effect of losing the correct capitalization of some folders.

To correct it in the local copy on your Jetson, try this:

cd ~/home/djq/workstation/jetson-inference/python/python
cp -r Jetson jetson
mv jetson/Inference jetson/inference
cd ~/home/djq/workstation/jetson-inference/utils/python/python
cp -r Jetson jetson
mv jetson/Utils jetson/utils

Thank you. I’ll try.
I don’t know if it’s “Windows or NTFS drive”, but there are some routines that work and some that don’t
For example,:
“ Classifying Images with ImageNet” is running properly
“ Coding Your Own Image Recognition Program (Python” is not allowed

OK, it would seem that the C++ apps are working okay for you while the Python ones aren’t. This would make sense since the Python bindings are the ones that have issues if they are cloned to a Windows/NTFS drive. If it continues to be an issue with sources cloned to an ext3/ext4 drive (or if you have the problem in container), please let me know - thanks!

According to your above answer, the problem has been solved perfectly, thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.