By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,768 Members | 2,004 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,768 IT Pros & Developers. It's quick & easy.

DParser binaries on Win32 with Python 2.4?

P: n/a
From the documentation, it looks like DParser-python will do what I
need, but I'm having trouble getting it installed properly. I'm using a
win32 environment, with official 2.4 Python binaries.

The official DParser for Python win32 binaries
(staff.washington.edu/sabbey/dy_parser) fail, saying that I don't have
Python 2.3 installed. :/

Compling the source on cygwin (with -mno-cygwin) succeeds in
compilation, but then attempting to install results in:

\Python24\python.exe setup.py install
running install
running build
running build_py
creating build
creating build\lib.win32-2.4
copying dparser.py -> build\lib.win32-2.4
running build_ext
building 'dparser_swigc' extension
error: Python was built with version 7.1 of Visual Studio, and
extensions need to be built with the same version of the compiler, but
it isn't installed.

I lack VS, and would prefer to stay using win32 Python rather than
cygwin Python because I got twisted, which I also use, working on win32
and not cygwin. Any ideas?
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Christopher Subich wrote:
Compling the source on cygwin (with -mno-cygwin) succeeds in
compilation, but then attempting to install results in:

\Python24\python.exe setup.py install
running install
running build
running build_py
creating build
creating build\lib.win32-2.4
copying dparser.py -> build\lib.win32-2.4
running build_ext
building 'dparser_swigc' extension
error: Python was built with version 7.1 of Visual Studio, and
extensions need to be built with the same version of the compiler, but
it isn't installed.

I lack VS, and would prefer to stay using win32 Python rather than
cygwin Python because I got twisted, which I also use, working on win32
and not cygwin. Any ideas?


1) http://mingw.org
2) python setup.py build --compiler=mingw32
3) python setup.py install

Jul 19 '05 #2

P: n/a
wo**********@rocketmail.com wrote:
1) http://mingw.org
2) python setup.py build --compiler=mingw32
3) python setup.py install


Thank you very much, it looks like this worked perfectly; it even picked
up on the cygwin-mingw32 libraries and compiled with the cygwin compiler
and -mno-cygwin.
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.