安装报错:is not a supported wheel on this platform
•
Python
安装报错:is not a supported wheel on this platform
一. 在通过.whl文件导包时出现的错误,可能原因有以下两点:
- 安装的不是对应python版本的库
- whl文件不是给本电脑系统用的
- whl文件名本台电脑不支持
二. 解决办法
- 原因1就从新下载对python版本的包,若python版本为python3.11.0即选择cp311的文件。
- 原因2就下载对应系统的文件。windows64位下载-win_amd64,linux下载-linux_x86_64。
- 原因3就通过pip debug –verbose 命令插看 pip 支持的名字,然后修改。
比如说:pip install numpy-1.10.4+mkl-cp27-cp27m-win32.whl 修改为numpy-1.10.4+mkl-cp27-none-win32.whl
三.参考
1.pip安装报错:is not a supported wheel on this platform
2.Python 语法问题-module ‘pip._internal‘ has no attribute ‘pep425tags‘. 原因及解决办法,32位、64位查看pip支持万能方法
本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/65606d5ff3.html
