Installing TensorRT 4 from its tar file is the only available option if you installed CUDA using the run file. However, the tar file only includes python TensorRT wheel files for python 2.7 and 3.5. No python 3.6 wheel file provided.
I cannot force install the python 3.5 wheel file on my python 3.6 system:
$ pip install tensorrt-4.0.0.3-cp35-cp35m-linux_x86_64.whl
tensorrt-4.0.0.3-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.
Also, I cannot create a new python 3.5 virtualenv just to use TensorRT.
Is there a way to manually install this package on my python 3.6 platform by manually copying the files?
Yes, you can rename this file to tensorrt-4.0.0.3-cp36-cp36m-linux_x86_64.whl and try again.
It works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With