473,407 Members | 2,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

win32 extension install hiccup

MM
Hi,

I downloaded the latest win32all build 202 and tried to install under
win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run
script pywin32-preinstall.py'. I checked the directories and there was
no sign of this file (preinstall.py) so I presume this is why it bombed.
How do I fix this? Thanks, matthew.
Jul 18 '05 #1
4 1376
MM wrote:
I downloaded the latest win32all build 202 and tried to install under
win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run
script pywin32-preinstall.py'. I checked the directories and there was
no sign of this file (preinstall.py) so I presume this is why it bombed.
How do I fix this?


Most likely, by not installing Python into a path that has spaces in it.

Regards,
Martin
Jul 18 '05 #2

MM wrote:
Hi,

I downloaded the latest win32all build 202 and tried to install under win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run script pywin32-preinstall.py'. I checked the directories and there was no sign of this file (preinstall.py) so I presume this is why it bombed.

You presume triply incorrectly. (1) The error message explicitly says
it couldn't find the Python executable. (2) The file that Python would
have run is pywin32-preinstall.py, not preinstall.py. (3) You shouldn't
expect to find an install script lying around after an install,
successful or failed, if the installer is cleaning up after itself.
How do I fix this? Thanks, matthew.


Install Python 2.4 in C:\Python24 and try again.

Jul 18 '05 #3

MM wrote:
Hi,

I downloaded the latest win32all build 202 and tried to install under win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run script pywin32-preinstall.py'. I checked the directories and there was no sign of this file (preinstall.py) so I presume this is why it bombed. How do I fix this? Thanks, matthew.


Build 202 is not the latest build. Build 203 is available at
Sourceforge http://sourceforge.net/projects/pywin32/

Jul 18 '05 #4
MM said the following on 2/13/2005 4:50 PM:
Hi,

I downloaded the latest win32all build 202 and tried to install under
win2000 with Py2.4. Install complains about 'couldn't open py2.4 to run
script pywin32-preinstall.py'. I checked the directories and there was
no sign of this file (preinstall.py) so I presume this is why it bombed.
How do I fix this? Thanks, matthew.


Add the location of Python.exe to the Path (System
Properties->Advanced->Environment Variables) and run your win32all
install. It will work like a charm!
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Wendell | last post by:
I've been using PHP for years, in a UNIX/Oracle/Linux/MySQL/etc environment. Now I've got to get it up and running on a Win2K server, IIS/5, SQL Server 2000. I've got PHP installed properly...
3
by: Joe | last post by:
Hey I have tried to install ImageMagick on my server, but my apache stalls when i try to start it with the following line added to my php.ini file: extension=php_imagick.dll I can't even...
2
by: Christopher Subich | last post by:
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. ...
5
by: Francois De Serres | last post by:
Hiho, could somebody please enlighten me about the mechanics of C callbacks to Python? My domain is more specifically callbacks from the win32 API, but I'm not sure that's where the problem...
2
by: Jerry He | last post by:
Hi, I was trying to build a C++ extension on Win32 with distutils. The extension worked on Cygwin but when I tried it with the Win32-build python, it complained that I don't have .NET Framework...
24
by: Dave | last post by:
I understand that VS.NET is supposed to compile native Win32 apps that do not require the .Net runtime. If that's the case then there is something else from the VS200x package that is required. ...
2
by: Curtis | last post by:
Hello everyone: I have come to love the ease of updating PHP, since getting used to using it these past few years. Recently, however, when I upgraded from PHP 5.1 to PHP 5.2.0 and again when...
9
by: pythonewbie | last post by:
Hi all, I am newbie in Python, my wish would be to create python applications for both Linux/Win32. I am stucked on creating a function to get the Python install directory (and site-packages...
6
by: Perl Beginner | last post by:
Good morning all, I had to reinstall Perl (ActivePerl 5.10.0 Build 1004) on my computer (Windows XP), the install went fine. however, I'm having issues loading Win32-GuiTest using the repository in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...
0
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...

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.