Installing Python 232 onto CD-ROM

Mike Huffman mike at mhuffman.com
Sun Dec 7 01:05:23 EST 2003


> heck the sys.path list and no \lib\site-packages subdirectory.  (Running 
> from the removable, this subdirectory does appear.  And the subdirectory 
> is on both the CD-ROM and removable cartridge.)  Add a .pth file with 
> the subdirectory string.  Still no good.
> 

Are you by any chance trying to run the CD-ROM on a Windows 98 system?

Python is case-sensitive with regard to loading modules. However, Windows 98
does not seem to retain Windows 2K/XP case for 8.3 file names.
For example, os.pyc in Windows 2K/XP becomes OS.PYC on Windows 98, and
you typically get a message like " 'import site' failed; use -v for traceback "

Try setting the environment variable PYTHONCASEOK to some non-zero value.
The command 
    set PYTHONCASEOK=1
worked for me. 

Mike Huffman




More information about the Python-list mailing list