当前位置: 代码迷 >> 综合 >> Python pip安装报错及解决办法:is not a supported wheel on this platform
  详细解决方案

Python pip安装报错及解决办法:is not a supported wheel on this platform

热度:74   发布时间:2023-12-11 19:08:24.0

柳鲲鹏

今天下载编译了Python3.6.6,然后安装TensorRT 4。执行下面步骤失败:

cd python
pip3 install tensorrt-4.0.1.6-cp35-cp35m-linux_x86_64.whl

提示错误:

is not a supported wheel on this platform

 

反复折腾了几次都不行。干脆把Python3.6卸载,下载了Python3.5,编译安装。再执行这个步骤就顺利通过。

大家遇到这个问题的时候,也要找到正确的版本对应。

 

 

  相关解决方案