distutils installation fails in WinNT; sys.exec_prefix empty

Mark Hammond mhammond at skippinet.com.au
Fri Oct 22 12:12:54 EDT 1999


> Why wouldn't sys.prefix and sys.exec_prefix be set to correct values
> after installing on NT?  Did I do something wrong, or is this a bug
in
> the installer?  Or is the distutils code wrong to expect those
values
> to be correct?  Is there something I can do to work around the
> problem?  I couldn't see any registry key that I could tweak.  I'm
> willing to help solve this problem, but I don't know where to look
> next.

My guess is that you have moved Python.exe from its default spot.  If
Python.exe is not in the Python directory, it can not determine these
values (as it goes sniffing for string.py based on the location of the
executable).

Mark.





More information about the Python-list mailing list