-1

When I'm trying to install lxml just like pip install lxml I'm getting an error " Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?".

I found a similar issue Getting "Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?" when installing lxml through pip, but when I'm trying to solve the problem following that advice I'm getting another error lxml-4.5.2-cp38-cp38-win_amd64.whl is not a supported wheel on this platform. The path to the wheel is D:\whl\lxml-4.5.2-cp38-cp38-win_amd64.whl

Using Python 3.8.1 under Windows 10 x64

Roman
  • 21
  • 1
  • 5

1 Answers1

0

I`ve solved the problem!

The error occurred in PyCharm editor. Then I tried to install lxml in VS Code editor and it was done successfully. IDK why the problem occurred, but after reinstalling PyCharm everything was OK

BTW if reinstalling didn't help, try to follow advice by Ethan in the comments

Roman
  • 21
  • 1
  • 5