Python startup problem. I'm lost!

Scott Chapman scott at mischko.com
Wed Nov 21 20:58:27 EST 2001


More information I should have included in the previous post:

I upgraded python then downgraded it again on my linux box.  I get 
this whenever I try to run python and I can't figure out where these 
things are set.  I don't want to set them in environment variables but 
rather permanently in a config file somewhere. 

# python -v

> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; traceback:
> ImportError: No module named site
> Python 2.1.1 (#1, Nov 18 2001, 17:15:47)
> [GCC 2.95.2 19991024 (release)] on linux2
> Type "copyright", "credits" or "license" for more information.


Any help would be greatly appreciated!  I'm not on the high-volume 
mailing list so please reply to me at scott at mischko.com. 

Thanks! Scott 




More information about the Python-list mailing list