[Python-bugs-list] [ python-Bugs-493837 ] Distutils not finding Python on Win2K

noreply@sourceforge.net noreply@sourceforge.net
Mon, 17 Dec 2001 01:28:56 -0800


Bugs item #493837, was opened at 2001-12-16 00:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=493837&group_id=5470

Category: Distutils
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Thomas Heller (theller)
Summary: Distutils not finding Python on Win2K

Initial Comment:
Thomas (or anyone else), can you help this fellow who 
posted to the Tutor list?  If there's a systematic 
problem here with 2.2c1, we've only got a window of a 
few days to fix it.

"""
From: tutor-admin@python.org [mailto:tutor-
admin@python.org]On Behalf Of Quniceleaf Listservs
Sent: Sunday, December 16, 2001 2:02 AM
To: tutor@python.org
Subject: [Tutor] Python not being found in the 
registry?

I'm using Python 2.2c1 on a Win2K machine.

I've repeatedly tried installing two Python addons 
from different sources (XIST and the MySQL-interface) 
that each use a Windows installer program based on 
distutils-1.0.2pre.

Both need to locate the Python installation before 
proceeding with the setup, and will not allow the user 
to browse and specify the location themselves. 
Unfortunately, neither can ever find a Python 
installation, and thus will not install.

I've tried this repeatedly with Python 2.1, 2.2b, 
2.2c1, and with ActiveState's distribution. In each 
case the installation is reflected in the Windows 
registry, but only the ActiveState install appears in 
the setup (and due to instability issues I am sticking 
with the standard distribution).

Has anyone else encountered this problem?

- Brian
"""


Unfortunately, the Tutor list reports his email 
address as listservb@quinceleaf.com, which doesn't 
seem reasonable.

----------------------------------------------------------------------

>Comment By: M.-A. Lemburg (lemburg)
Date: 2001-12-17 01:28

Message:
Logged In: YES 
user_id=38388

One problem could be that Brian is trying to install a binary for a 
non-installed Python version on the machine. In that case,
the installer does not display any entries in the Python directory
selection box.

Another possibility is fixing the binaries to use the latest distutils
version available. Thomas Heller made some changes which solved a
few problems in distutils 1.0.3 AFAIR.

As a test I'd suggest to install egenix-mx-base on the machine and
see what you get (the installer for that package was built using
distutils 2.0.3).

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=493837&group_id=5470