Python in DOS

Hans Nowak hnowak at cuci.nl
Fri Nov 19 01:15:18 EST 1999


On 18 Nov 99, William Park wrote:

> On Thu, Nov 18, 1999 at 06:24:25PM -0500, Curtis, Craig M. wrote:
> > Does anyone know the "approved" way to get rid of the following
> > message:
> > 
> > Could not find platform dependent libraries <exec_prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > 'import site' failed; use -v for traceback
> > Python 1.5.2 (#6, Nov 18 1999, 17:19:05)  [GCC 2.8.1] on ms-dos7
> > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> > 
> > 
> > I've tried everything I can think of to set PYTHONHOME and PYTHONPATH
> > and python ALWAYS starts up this way.
> 
> If I remember (this was long long time ago), I had to remove case
> sensitivity for library files by setting some dummy environment
> variable.

You surely mean the PYTHONCASEOK variable. If that doesn't help, 
simply comment these parts out of the source code... DOS is not going 
to use them anyway.


--Hans Nowak (zephyrfalcon at hvision.nl)
Homepage: http://fly.to/zephyrfalcon
You call me a masterless man. You are wrong. I am my own master.




More information about the Python-list mailing list