疑惑点是git cmd里面安装lxml成功了,但是PyCram里面不能用,报错
ModuleNotFoundError: No module named 'lxml’
在git cmd里面是使用pip install lxml -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com安装成功的,所以选用新的网站资源,
然后点击Install Package
回头看显示的Package,里面就有了lxml
没有报lxml错误,但是报:
from .. import etree
ImportError: DLL load failed while importing etree: 找不到指定的程序。
Process finished with exit code 1
还需要继续研究研究下。
参考文章:https://blog.csdn.net/qq_40402685/article/details/102929846