471,624 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

PyXML not installing?

Hi,

I downloaded the PyXML library and I'm attempting to install it by
following the README file on Windows XP. I currently have Visual
Studio 2005 installed.
>From the command line I type:
C:\PyXML-0.8.4>python setup.py build
running build
running build_py
running build_ext
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to
setup.py.

It gives me the above error message. Any way to fix this?

Thanks ahead of time.

Jul 9 '07 #1
2 2284
Robert Dailey wrote:
I downloaded the PyXML library and I'm attempting to install it by
following the README file on Windows XP. I currently have Visual
Studio 2005 installed.
>>From the command line I type:

C:\PyXML-0.8.4>python setup.py build
running build
running build_py
running build_ext
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to
setup.py.

It gives me the above error message. Any way to fix this?
IIRC, Python extensions require MSVC 2003 on Windows and I don't think VC 2005
will work at all.

You may prefer using lxml for working with XML anyway. Version 1.2.1 has
binaries for Windows (and 1.3.2 will likely get them soon).

http://codespeak.net/lxml/

Stefan
Jul 9 '07 #2
error: Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to
setup.py.

It gives me the above error message. Any way to fix this?
Do what the message tells you. Either install Visual Studio 2003,
or MingW32.

Regards,
Martin
Jul 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by leo | last post: by
2 posts views Thread by David Dorward | last post: by
2 posts views Thread by Sebastian Fey | last post: by
1 post views Thread by Alain | last post: by
2 posts views Thread by Stefan Behnel | last post: by
1 post views Thread by Dan | last post: by
5 posts views Thread by Matthias Kaeppler | last post: by
3 posts views Thread by Paul Watson | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.