python - MontagePy-1.0.1-cp36-cp36m-manylinux1_x86_64.whl 不是这个平台支持的轮子
问题描述
Python 3.7 安装在我的 64 位机器上。当我尝试运行时pip3 install
,我收到我的平台不支持轮文件的消息。
这是我到目前为止检查过的内容:
cp36
在文件名中表示我需要 Python 3.6 或更高版本,所以 3.7 符合要求- 我的 python 安装也是 64 位(https://stackoverflow.com/a/36158157/3128109)
- 由于平台要求取自文件名,因此我尝试将名称更改为
MontagePy-1.0.1-cp36-none-any.whl
,但出现相同的错误。 pip --version
说pip 19.0.3 from /usr/local/lib/python3.4/dist-packages/pip (python 3.4)
。这可能是问题的根源吗?如果是这样,我将如何让 pip 使用 3.7 而不是 3.4 运行?
什么可能导致此平台不兼容?
调试日志说
/usr/bin/pip3 run on Fri Mar 1 14:09:04 2019
MontagePy-1.0.1-cp36-cp36m-manylinux1_x86_64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 257, in run
InstallRequirement.from_line(name, None))
File "/usr/lib/python3/dist-packages/pip/req.py", line 168, in from_line
raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
pip.exceptions.UnsupportedWheel: MontagePy-1.0.1-cp36-cp36m-manylinux1_x86_64.whl is not a supported wheel on this platform.
解决方案
推荐阅读
- internet-explorer - 在 Edge IE 模式下配置共享 cookie:可以使用通配符还是变量?
- pandas - 按列名中小数点前的数字合并列
- powerbi - 将 Athena 与 Power BI 连接 在数据导入完成之前,其数据源已超时
- d3.js - 条形图上的 D3 渐变填充 - 带色标
- css - 实现 COREui 管理模板以匹配演示
- python - Snakemake“自动缩放没有共享文件系统的 Azure Kubernetes 集群”失败并出现依赖错误
- java - 如何进行“排队”?
- google-apps-script - 如何在循环内的 Google App Script 中将动态 pdf 附加到电子邮件中?
- python - VS Code:无法调试 Connexion/Flask 应用程序?
- docker - Nginx 上 HTTPS 请求的内部服务器错误