关于Python使用pip安装报错:xxx is not a supported wheel on this platform的解办法

关于Python使用pip安装报错:xxx is not a supported wheel on this platform的解办法

使用pip install安装xxx.whl文件时遇到xxx is not a supported wheel on this platform

1.修改安装包命名格式

可能你的pip不支持该文件名,要满足如win32才行(这个自行查看)

如: opencv_python-4.2.0.34-cp35-cp35m-win_amd64.whl
改为 opencv_python-4.2.0.34-cp35-cp35m-win32.whl

2.python版本不对应

如: opencv_python-4.2.0.34-cp35-cp35m-win_amd64.whl
中cp35表示支持的是python3.5版本,所以其他版本会报错。

你可能感兴趣的:(python,pip)