문제

I have Python 2.7 running on Windows XP. I am trying to install Spynner as an alternative to Mechanize that supports Javascript. When I run easy_install spynner, I get an error while installing lxml:

Make sure the development packages of libxml2 and libxlst are installed

Where can I find those files? I found instructions for linux but no instructions for Windows. I also tried easy_install but it could not find the packages.

도움이 되었습니까?

해결책

Since you are running Windows, try installing lxml from a precompiled binary package. pypi.python.org hosts a binary that you could use. The next run of easy_install should detect the new lxml distribution and the installation should work.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top