How to set PYTHONHOME ???

Sheila King sheila at
Mon Mar 26 15:56:45 CEST 2001

On Mon, 26 Mar 2001 12:25:55 +0100, Philippe Rodriguez
<Philippe_Rodriguez at> wrote in comp.lang.python in
article <3ABF2743.ED5904F2 at>:

:I'm running Python 1.6 on hpux 10.20. I got the standard depot binary
:Each time I'm trying to run Python, I have the following message :
:Could not find platform dependent libraries <exec_prefix>
:Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
:I have set this to every conceivable option I can think of, but it still
:The program seems to be OK, but my tool which use python runs a cron
:every minutes
: ans so I'm receiving a message every minute ... boring !

Yes, I have seen this error. It seems that the install is looking for files in
a place where you do not have them. While the best solution is a reinstall, if
you cannot do that, there is also a way to set the Python Path.

This link

leads to a discussion board where I was seeking help, and also has links to
other places where I went for help.

Sheila King

More information about the Python-list mailing list