473,659 Members | 2,886 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DParser binaries on Win32 with Python 2.4?

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.washingt on.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\pytho n.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
2 2370
Christopher Subich wrote:
Compling the source on cygwin (with -mno-cygwin) succeeds in
compilation, but then attempting to install results in:

\Python24\pytho n.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=mingw3 2
3) python setup.py install

Jul 19 '05 #2
wo**********@ro cketmail.com wrote:
1) http://mingw.org
2) python setup.py build --compiler=mingw3 2
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
1681
by: Christian Tismer | last post by:
New Win32 binaries have been uploaded to the Stackless website. Some compatibility issues with certain constructors have been solved. Please let me know of any problems. more to come soon - cheers -- chris -- Christian Tismer :^) <mailto:tismer@stackless.com>
0
1000
by: Joachim Mårtensson | last post by:
Hello, I am playing around a little bit with dparser, and I thought that maybe someone on this list can help me out(There does not seem to be a dparser list, atleast not an active one). I am total n00b to parsers so this might be very easy. I want a parser that can parse both these lines (What I am looking to construct is a parser of a _very_ limited subset of objective-c). retain] NSArray *contentRowArray
1
1469
by: Kent Tenney | last post by:
Howdy, I'm using Python 2.4 on W2K I would love to use the tools at http://cddb-py.sourceforge.net/ the newest Win binaries are for Python 2.0 The dll won't load, I assume this is due to version mismatch.
2
1589
by: Cliff Wells | last post by:
For various sundry reasons, I find myself needing to deliver a Windows-based Python app. I also chose Python 2.5 for this platform. The app has several requirements, all of which are available for Python 2.5/Win32 except one: pycurl. So I decided to try building the source but as it turns out, building C programs on Windows isn't nearly as straightforward as on Linux, so I'm a bit lost. I've downloaded the free Visual C++ Studio...
13
6465
by: Chris Seymour | last post by:
HI All, Does such a beast exist? Have been looking but haven't seen any. Any insight would be appreciated. Thanks. Chris
10
2758
by: anton | last post by:
Hi, I would like to know if some of you knows a - working - actual - out of the box (for me: binaries available)
8
1948
by: Grant Edwards | last post by:
When I ssh into a windows machine (running Cygwin sshd), I can invoke python at the shell prompt (you have to use -i option and I don't really understand why). Once it's started there are couple rather odd behaviors: 1) readline support doesn't work. 2) you have call sys.exit() to exit (neither ctrl-D or ctrl-Z work)
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.