[Python-Dev] sys.prefix woes
Fredrik Lundh
fredrik@pythonware.com
Tue, 20 Mar 2001 13:07:23 +0100
(windows, 2.0)
it looks like sys.prefix isn't set unless 1) PYTHONHOME is set, or
2) lib/os.py can be found somewhere between the directory your
executable is found in, and the root.
if neither is set, the path is taken from the registry, but sys.prefix
is left blank, and FixTk.py no longer works.
any ideas? is this a bug? is there an "official" workaround that
doesn't involve using the time machine to upgrade all BeOpen
and ActiveState kits?
Cheers /F