Python startup problem. I'm lost!

Scott Chapman scott at
Thu Nov 22 02:51:45 CET 2001

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.

> 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; use -v for traceback
> 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


More information about the Python-list mailing list