DParser binaries on Win32 with Python 2.4?

C

Christopher Subich

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?
 
W

woodsplitter

Christopher said:
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
 
C

Christopher Subich

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,742
Latest member
AshliMayer

Latest Threads

Top