Jeff
Jeff

Reputation: 8411

*.whl is not a supported wheel on this platform

Recently, i have faced with the below error:

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

I have read this question, and decided to install the *.whl using pip command based on this question. I am trying to install it using this command:

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

But it complains with:

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

My python version is:

$ python --version
Python 3.8.0a1

Windows 10, 64 bit

How can i fix it? Should i uninstall my python and install 2.7?

Upvotes: 0

Views: 10023

Answers (1)

Lee
Lee

Reputation: 1427

Read the answers:

cp35 in file name means version for Python 3.5.

You have Python 3.8 and install version for 2.7. Also the architecture has to match the architecture of your Python version. Which is amd64 or win32

Upvotes: 2

Related Questions