win32 extension install hiccup

M

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

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

MM said:
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
 
J

John Machin

MM said:
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.
 
S

steen

MM said:
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/
 
K

Kartic

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!
 

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

No members online now.

Forum statistics

Threads
474,219
Messages
2,571,118
Members
47,737
Latest member
CarleyHarm

Latest Threads

Top