jkjung-avt / tensorrt_demos

TensorRT MODNet, YOLOv4, YOLOv3, SSD, MTCNN, and GoogLeNet
https://jkjung-avt.github.io/
MIT License
1.74k stars 545 forks source link

error happening when sh ./install_pycuda.sh #595

Open ZnSn399379 opened 1 year ago

ZnSn399379 commented 1 year ago

WARNING: The directory '/home/jetson/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (57.4.0) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv ./install_pycuda.sh: 23: ./install_pycuda.sh: Bad substitution

jkjung-avt commented 1 year ago

Could you share the output of the following command (the file names of the "libboost-python-dev" library)?

$ ls -l /usr/lib/${arch}-linux-gnu/libboost_python*

ZnSn399379 commented 1 year ago

It output like this ls: cannot access '/usr/lib/-linux-gnu/libboost_python*': No such file or directory

jkjung-avt commented 1 year ago

I just committed a fix to install-pycuda.sh. Please give it a try. Thanks.