shouxieai / tensorRT_Pro

C++ library based on tensorrt integration
MIT License
2.62k stars 549 forks source link

ImportError: libcuda.so.1: cannot open shared object file: No such file or directory #191

Closed xuyixuan1999 closed 1 year ago

xuyixuan1999 commented 1 year ago

单独编译make yolo,运行没有问题。 但是make pyinstall,在arm的AGX Orin上已经编译完成,运行 test_torch.py会报如下错误。

python test_torch.py
Traceback (most recent call last): File "test_torch.py", line 4, in import pytrt as tp File "/home/test/xyx/tensorRT_Pro/example-python/pytrt/init.py", line 335, in from .libpytrtc import * ImportError: libcuda.so.1: cannot open shared object file: No such file or directory