Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top