在此平台上不支持MontagePy-1.0.1-cp36-cp36m-manylinux1_x86_64.whl

时间:2019-03-01 13:42:12

标签: python pip python-wheel astropy

Python 3.7安装在我的64位计算机上。当我尝试运行pip3 install时,我收到一条消息,说明我的平台不支持wheel文件。

这是我到目前为止检查过的内容:

    文件名中的
  • cp36意味着我需要Python 3.6或更高版本,因此3.7适合该法案
  • 我的python安装也是64位(https://stackoverflow.com/a/36158157/3128109
  • 由于平台要求是从文件名中提取的,因此我尝试将名称更改为MontagePy-1.0.1-cp36-none-any.whl,但出现相同的错误。
  • pip --versionpip 19.0.3 from /usr/local/lib/python3.4/dist-packages/pip (python 3.4)。这可能是问题的根源吗?如果是这样,我将如何在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.

0 个答案:

没有答案