WHile trying to run a python script with tensorrt as dependency, I’m getting import error.
To verify if tensorrt is there, i ran below commands,
sudo apt-get install tensorrt
Reading package lists… Done
Building dependency tree
Reading state information… Done
tensorrt is already the newest version (188.8.131.52-1+cuda10.0).
The following packages were automatically installed and are no longer required:
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
dpkg -l | grep TensorRT
ii libnvinfer-dev 5.0.3-1+cuda10.0 arm64 TensorRT development libraries and headers
ii libnvinfer-samples 5.0.3-1+cuda10.0 all TensorRT samples and documentation
ii libnvinfer5 5.0.3-1+cuda10.0 arm64 TensorRT runtime libraries
ii tensorrt 184.108.40.206-1+cuda10.0 arm64 Meta package of TensorRT
I tried pip install tensorrt after the import error
This is error I get :
File “/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py”, line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/tensorrt/