Import site

Christos TZOTZIOY Georgiou tzot at sil-tec.gr
Fri Aug 22 02:50:29 EDT 2003


On Wed, 20 Aug 2003 13:07:49 -0400, rumours say that "satish
k.chimakurthi" <skchim0 at engr.uky.edu> might have written:

>I am trying to load a module in python. When I said python at the 
>commandprompt, I got the following and yet I am able to go to the python 
>prompt
>
>$ python
>'import site' failed; use -v for traceback

A slight chance; if you enter the 'env' command at the shell prompt,
does it contain a 'PYTHONHOME' environment variable?  If yes, unset it.
-- 
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.




More information about the Python-list mailing list