tensorRT_Pro icon indicating copy to clipboard operation
tensorRT_Pro copied to clipboard

ModuleNotFoundError: No module named 'pytrt.libpytrtc'

Open GinkgoX opened this issue 3 years ago • 1 comments

Dear author: when I try to run example-python module, I first comiple setup.py, the output as follows:

Processing dependencies for pytrt==1.0 Finished processing dependencies for pytrt==1.0

but when I run test_torch.py, the error occurs: import pytrt as tp File "....\example-python\pytrt_init_.py", line 335, in from .libpytrtc import * ModuleNotFoundError: No module named 'pytrt.libpytrtc'

How can I solve this problem? thanks

GinkgoX avatar Sep 18 '22 11:09 GinkgoX

路径显然是不会错的,你把pyd丢到dependency walker看看缺哪个dll,放到pyd同级目录就行了

huaiqi220 avatar Apr 23 '23 13:04 huaiqi220