Question about python plugin installed lxml

  Article just introduce yourself when installing from an installation after installation without the error, then the installation was successful spiritual path, do not represent the majority of European imperial will appear the same type of problem, nor is a summary of the problem and summarize various reasons.

Directly to the question, here is my first win environment, is python3.8 computer to upload and anaconda (python3.7), the environment variable to confirm there is no problem, the environment variable configuration is python3.8, direct pip install lxml in the console  

Pop-up error

Building wheels for collected packages: lxml
Building wheel for lxml (setup.py) ... error

Running setup.py clean for lxml
Failed to build lxml
Installing collected packages: lxml
Running setup.py install for lxml ... error

There are two big articles about The Scarlet Letter

Follow-up from the Internet search a bit reasons

URL attached query, as he says get a bit

https://blog.csdn.net/fuck487/article/details/80169109

 

This is because I want to install this red box, but the installation still fails

Follow-up again in a number of online search, probably meaning are similar, but there is an article mentioned python official website to download the installation file lxml

Attach the link address

https://pypi.org/project/lxml/#files

Into the future did not even find python3.8 of lxml installation file, I drop obediently, I installed python version is too high? Too new? No latest support?

Only reluctantly give up lxml installed on python3.8

Honestly, import in the anaconda, of course, when anaconda installation of these packages are commonly installed, later make things right environment, the implementation of the first sentence on the error found

from lxml import etree

ImportError: DLL the Load failed The: The specified module could not be found.

Etree can not find this stuff, this is as Shaya, but also a meal check, finally lock this thing to me is the anaconda installed incomplete, and some packages have some not, can only be unloading heavy equipment, after reloading finally compiled a success

Briefly summarize,

First, the installation fails to look at their own python version and installation package is compatible, not compatible, then do not go this route, and honestly change python version (usually caused by installing the new version too),

Then there is no problem to determine the python version after the installation is unsuccessful, the basic problem is that you set the environment variable to determine what, what needs to be installed before installing clear out ahead of time, for example, install lxml first installed wheel, etc.

Finally, if installed on the compilation fails, is to determine the basic installation is incomplete, or have any questions, it is best unloading heavy equipment.

Guess you like

Origin www.cnblogs.com/Changxin-chen/p/10978530.html