Install lxml in PyCharm

The point of doubt is that lxml is successfully installed in git cmd, but it cannot be used in PyCram, and an error is reported.

ModuleNotFoundError: No module named 'lxml’

 

In git cmd, it was successfully installed using pip install lxml -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com, so choose new website resources,

 

Then click Install Package

 

Looking back at the displayed Package, there is lxml inside

 

No lxml error is reported, but:

    from .. import etree
ImportError: DLL load failed while importing etree: The specified program could not be found.

Process finished with exit code 1

Still need to continue to study.

 

Reference article: https://blog.csdn.net/qq_40402685/article/details/102929846

Guess you like

Origin blog.csdn.net/csdnhsh/article/details/115029789