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
单独编译make yolo,运行没有问题。 但是make pyinstall,在arm的AGX Orin上已经编译完成,运行 test_torch.py会报如下错误。
python test_torch.py
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
Traceback (most recent call last): File "test_torch.py", line 4, in