I needed to do install the asked 14 Sep '12, 11:07 houdinihound |
After trying and failing numerous other methods to install lxml under python2.5 on a centos4 machine, I received this answer from Sean F. at Webfaction, which worked perfectly. CentOS4 is a rather old operating system, so it's tricky to build newer software on it. In this case, you can't use STATIC_DEPS=true, since it pulls in a version of libxml2 that will not build on CentOS4. Instead, you need to build everything manually. You can do so with the following commands:
Now when running python2.5 one can import lxml. For different versions of python change the answered 14 Sep '12, 11:12 houdinihound |