Installing Python 232 onto CD-ROM
Mike Huffman
mike at mhuffman.com
Sun Dec 7 01:05:23 EST 2003
More information about the Python-list mailing list
Sun Dec 7 01:05:23 EST 2003
- Previous message (by thread): Installing Python 232 onto CD-ROM
- Next message (by thread): How to use User Defined TestResult Class
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Previous message (by thread): Installing Python 232 onto CD-ROM
- Next message (by thread): How to use User Defined TestResult Class
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list