Python 3.7安装在我的64位计算机上。当我尝试运行pip3 install
时,我收到一条消息,说明我的平台不支持wheel文件。
这是我到目前为止检查过的内容:
cp36
意味着我需要Python 3.6或更高版本,因此3.7适合该法案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)
。这可能是问题的根源吗?如果是这样,我将如何在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.