* .whl在此平台上不受支持

时间:2019-04-02 12:50:41

标签: python

最近,我遇到了以下错误:

Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?

我已阅读this question,并决定使用基于this question*.whl命令安装pip。 我正在尝试使用以下命令进行安装:

pip install lxml-4.3.3-cp27-cp27m-win32.whl

但它抱怨:

lxml-4.3.3-cp27-cp27m-win32.whl is not a supported wheel on this platform.

我的python版本是:

$ python --version
Python 3.8.0a1

Windows 10, 64 bit

我该如何解决? 我应该卸载python并安装2.7吗?

1 个答案:

答案 0 :(得分:1)

阅读答案:

  文件名中的

cp35表示Python 3.5的版本。

您拥有Python 3.8,并安装了2.7版本。 此外,该架构还必须与您的Python版本的架构相匹配。是amd64或win32

相关问题