lxml 2.2.4 on python3.1, Windows XP gives importerror

Sridhar Ratnakumar sridharr at activestate.com
Wed Jan 6 11:44:58 EST 2010


On 1/5/2010 1:38 AM, VYAS ASHISH M-NTB837 wrote:
> Dear All
> I have Python 3.1 installed on Windows XP and Works nice.
> I downloaded lxml 2.2.4 (lxml-2.2.4.win32-py3.1.exe) from pypi.
> When I try:
> from lxml import etree
> I get:
> ImportError: DLL load failed: This application has failed to start
> because the application configuration is incorrect. Reinstalling the
> application may fix this problem.

Are you by any chance running 64-bit Python (whereas the lxml binary you 
have installed is 32-bit)?

C:> python -c "import platform; print platform.architecture()"

-srid



More information about the Python-list mailing list