dusty-nv / jetson-inference

Hello AI World guide to deploying deep-learning inference networks and deep vision primitives with TensorRT and NVIDIA Jetson.
https://developer.nvidia.com/embedded/twodaystoademo
MIT License
7.77k stars 2.97k forks source link

sudo make install get error : file INSTALL cannot find!! #460

Closed brucelee78 closed 1 year ago

brucelee78 commented 4 years ago

hello i compiling the repo according to this markdown file

but when i was going to :

sudo make install

i get a error, and i can't solve it!

-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson/Inference
-- Up-to-date: /usr/lib/python3.6/dist-packages/Jetson/Inference/__init__.py
-- Installing: /usr/lib/python3.6/dist-packages/Jetson/__init__.py
CMake Error at python/bindings_python_3.6/cmake_install.cmake:89 (file):
  file INSTALL cannot find
  "/home/nvidia/jetson-inference/python/bindings/../python/jetson".
Call Stack (most recent call first):
  python/cmake_install.cmake:78 (include)
  cmake_install.cmake:129 (include)

please help me ,thank you! my TX2 is jetpack 4.2.1!

dusty-nv commented 4 years ago

Hi @brucelee78, I haven't seen this error before and am not sure what the problem is - maybe these got deleted somehow? You could try re-cloning the repo, or you could try commenting out these two lines (56-57): https://github.com/dusty-nv/jetson-inference/blob/87b5a8814a60e860709b35f3f774907c249db081/python/bindings/CMakeLists.txt#L56

Then re-run cmake ../ , make, and sudo make install

Then copy the two folders found under jetson-inference/python/python to /usr/lib/python3.6/dist-packages

brucelee78 commented 4 years ago

@dusty-nv,thanks for your reply! i have solved this problem! according to your advice,and i make some other changes. i rename jetson-inference/python/python/Jetson to jetson and jetson-inference/utils/python/python/Jetson to jetson

in addition,comment out jetson-inference/python/bindings/CmakeList.txt line 56 and jetson-inference/utils/python/bindings//CmakeList.txt line 76

and Then re-run cmake ../ , make, and sudo make install

problem is solved!! thank for your advice again!

csjryt commented 2 years ago

@dusty-nv,thanks for your reply! i have solved this problem! according to your advice,and i make some other changes. i rename jetson-inference/python/python/Jetson to jetson and jetson-inference/utils/python/python/Jetson to jetson

in addition,comment out jetson-inference/python/bindings/CmakeList.txt line 56 and jetson-inference/utils/python/bindings//CmakeList.txt line 76

and Then re-run cmake ../ , make, and sudo make install

problem is solved!! thank for your advice again!

Thanks, that help me out :)

y2934 commented 1 year ago

why am I still wrong???

y2934 commented 1 year ago

thank you very much but are line 56 and line 76 annotated all the time?

dusty-nv commented 1 year ago

Are you using an NTFS-formatted drive or partition perhaps? It was found that NTFS is case insensitive. But ext3/ext4 (linux) works correctly. You may run into other issues with NTFS too, like with the symbolic links