Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RE: lxml 2.2.4 on python3.1, Windows XP gives importerror

Reply
Thread Tools

RE: lxml 2.2.4 on python3.1, Windows XP gives importerror

 
 
VYAS ASHISH M-NTB837
Guest
Posts: n/a
 
      01-07-2010
Processor is Intel Pentium 32 bit.

import platform
print (platform.architecture()) gives -> ('32bit', 'WindowsPE')


Regards,
Ashish Vyas


-----Original Message-----
From: Sridhar Ratnakumar [private.php?do=newpm&u=]
Sent: Wednesday, January 06, 2010 10:15 PM
To: VYAS ASHISH M-NTB837
Cc: python-
Subject: Re: lxml 2.2.4 on python3.1, Windows XP gives importerror

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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Install lxml package on Windows 7 Irmen de Jong Python 0 05-29-2012 11:24 PM
To install lxml (and easy_install) for Python 3 under Windows... ncdave4life@mailinator.com Python 1 06-12-2011 05:14 PM
lxml Windows binaries Jan Dries Python 5 09-14-2006 09:14 PM
SWIG/IDLE/Python: F5 SHIP.py works but "import SHIP" gives "ImportError: dynamic module does not define init function (initSHIP)" Bill Davy Python 0 05-12-2005 08:48 AM
c extension works in Linux but not Windows==>?? ImportError: dynamic module does not define init function (initpeak_load) Christian Seberino Python 2 02-12-2004 10:08 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57