1、我安装失败是因为没有安装wheel库,可以使用PIP安装 pip install wheel 2、然后再次执行安装lxml库,使用PIP安装 pip install lxml 安装成功。
7. 使用Anaconda 如果你在使用 Anaconda,可以通过以下命令安装lxml:bash Copy code conda install lxml ...
方法重新安装: 1、在这里下载对应的.whl文件,注意别改文件名!https//www.lfd.uciedu/~/pythonlibs/#lxml 2、终端中进入whl所在的文件夹,执行下述命令即可pip install 带后缀的完整文件名 如果我的回答了您的疑惑,请采纳!祝学习愉快~~~ 0 收起回答 提问者 Lee1 #1 (venv) E:\workspace\venv>...
由于某种原因,能够在虚拟环境之外安装lxml和scrapy。
MacOS下的各种疑难杂症, error: command ‘/usr/bin/clang’ failed with exit code 1,安装各种依赖库失败,例如lxml、python-docx。 示例错误: pip install python-docx 1. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting python-docx ...
如果看不懂错误提示,就按照错误提示用搜索引擎查解决方案。