can't installing lxml on Ubuntu 12.04

醉酒当歌 提交于 2019-11-28 10:11:50

Try this to get the deps:

apt-get build-dep python-lxml

I had exactly this problem. Turned out to be a memory problem - I was installing reporter.py, which depends on lxml, on a server with only 500MB RAM, of which only 150MB was free. I killed off a few things to get up to ~300MB free, and just managed to squeeze out the installation of lxml. (Watching TOP showed available memory going down to 4MB at one point!)

see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48796

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