Help! Init Problem after setup...
Fredrik Lundh
effbot at telia.com
Wed Feb 16 03:03:48 EST 2000
Robert Hundt <rhundt at cup.hp.com> wrote:
> Now I want to create another application, that links to Python lib and
> sits in another directory tree. I can link this app, I can even run it,
> however, I always get messages at startup saying:
>
> 'import exceptions' failed; use -v for traceback
> Warning! Falling back to string-based exceptions
> 'import site' failed; use -v for traceback
>
> So - I already tried setting PYTHONPATH to the exec-prefix that I
> specified during config - but gee, I can't get rid of this problem. Even
> worse, I can't even "import" specific other modules.
try setting PYTHONHOME instead.
PYTHONPATH is a list of extra directories, which
are prepended to the module search path.
to see what the current path is, start the inter-
preter, and type:
>>> import sys
>>> sys.path
...
</F>
More information about the Python-list
mailing list