"Could not find platform dependent libraries" message

Stephen Boulet stepheb at comm.mot.com
Wed Mar 15 11:46:30 EST 2000


When I try executing this program, I get the message:

   #!/opt/python/bin/python

   print "Hello, Python!"

gives:


   Could not find platform dependent libraries <exec_prefix>
   Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
   Hello, Python!

My $PYTHONHOME bash variable is /opt/python. The python executable is in
/opt/python/bin/python.

What am I doing wrong here?

-- Stephen




More information about the Python-list mailing list