DParser binaries on Win32 with Python 2.4?

Discussion in 'Python' started by Christopher Subich, Jun 28, 2005.

  1. 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?
     
    Christopher Subich, Jun 28, 2005
    #1
    1. Advertising

  2. Christopher Subich

    Guest

    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
     
    , Jun 28, 2005
    #2
    1. Advertising

  3. 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.
     
    Christopher Subich, Jun 28, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    1,398
  2. Ng Pheng Siong

    [Announce] M2Crypto 0.12 + Win32 binaries

    Ng Pheng Siong, Oct 27, 2003, in forum: Python
    Replies:
    0
    Views:
    321
    Ng Pheng Siong
    Oct 27, 2003
  3. =?ISO-8859-1?Q?Joachim_M=E5rtensson?=

    Problems with dparser grammar

    =?ISO-8859-1?Q?Joachim_M=E5rtensson?=, Apr 10, 2005, in forum: Python
    Replies:
    0
    Views:
    340
    =?ISO-8859-1?Q?Joachim_M=E5rtensson?=
    Apr 10, 2005
  4. GHUM

    PIL 2.5 win32 binaries?

    GHUM, Sep 18, 2006, in forum: Python
    Replies:
    1
    Views:
    290
    Thomas Heller
    Sep 18, 2006
  5. KevinSimonson
    Replies:
    17
    Views:
    684
    KevinSimonson
    Sep 28, 2009
Loading...

Share This Page