当前位置:   article > 正文

TensorRT——安装报错解决:sudo pip3 install tensorrt-8.4.0.6-cp38-none-linux_x86_64.whl_tensorrt-8.5.3.1-cp38-none-linux_x86_64.whl is not

tensorrt-8.5.3.1-cp38-none-linux_x86_64.whl is not a supported wheel on this

一、报错信息

The directory '/home/csj/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/csj/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
tensorrt-8.4.0.6-cp38-none-linux_x86_64.whl is not a supported wheel on this platform.
在这里插入图片描述

二、解决办法

sudo pip3 install tensorrt-8.4.0.6-cp38-none-linux_x86_64.whl
改为
pip3 install tensorrt-8.4.0.6-cp38-none-linux_x86_64.whl

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/129824
推荐阅读
相关标签
  

闽ICP备14008679号