-
Notifications
You must be signed in to change notification settings - Fork 2.2k
"No module named 'tensorrt.tensorrt'" for generated wheel file #2288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
did you build the whl file successfully? try |
I think whl file is not valid, as the file size is too small.
Here is the build log of whl file:
|
what does |
There is tensorrt in
|
I had the same error with the same setting. Unfortunately, i couldn't find out exactly, why it isn't working. Edit: pybind/pybind11#4117 this is the belonging bug in pybind11 |
It also worked for me, thanks! |
I'm getting similar results here. I think it's weird that me and OP are getting this error:
How are you guys able to build the wheel? Edit: It appears at some point my |
Hello I saw this was closed as completed. I am attempting a similar build but on a Jetson Nano. I am having the same error message. I followed the same steps you have except I am installing locally instead of using the container. That is this step where I am confused: installation Is there a guide on how to install this inside of the docker container? Thank you. |
I encountered a lot of errors and problems when compiling bindings. In the end, the following steps helped me:
|
Description
I generated Python 3.8 wheel file following this instruciton and installed it by
pip3 install tensorrt-8.0.1.6-cp38-none-linux_aarch64.whl
, but failed to import tensorrtThe wheel file seems to be invalid.
Environment
TensorRT Version:
NVIDIA GPU: Jetson AGX Xavier
NVIDIA Driver Version:
CUDA Version: 10.2
CUDNN Version: 8.2.1.32-1
Operating System: JetPack 4.6 (rev3)
Python Version (if applicable): 3.8.0
Tensorflow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if so, version):
Relevant Files
Steps To Reproduce
inside docker container based on nvcr.io/nvidia/l4t-base:r32.6.1:
pip3 install tensorrt-8.0.1.6-cp38-none-linux_aarch64.whl
The text was updated successfully, but these errors were encountered: