Fail to install lxml using pip

你说的曾经没有我的故事 提交于 2019-12-05 06:36:13

Just install these stuff :

sudo apt-get install libxml2-dev libxslt-dev  python-dev  python-setuptools

Then try again :

pip install lxml
achivil

Here is a similar question.

Error installing Pillow (and PIL)

Are you using a MacOS? Maybe you can try to update the commandline tools and try 'brew' tool. If not, you can try to install pip and easy_intall tools again, and update it.

https://pip.pypa.io/en/latest/installing.html

lxml has C depenedencies, often I run into issues when I'm missing libxslt or libxml2. Are you sure that all non python dependencies are installed?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!