Setup/install issues including site.py

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Fowler

    #1

    Setup/install issues including site.py

    Hello there

    Im trying to port Python 2.4.3 to the Etrax platform, things have been
    working but im having some issues I dont get.

    if I issue #python I get ...

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

    (i do get the interpreter prompt)

    so I set PYTHONHOME
    #export PYTHONHOME=/mnt/flash/Python/lib:/mnt/flash/Python/bin

    run python again

    #python

    and then get this error message:

    'import site' failed; use -v for traceback

    So you see I get one error or the other.

    btw site.py is located in the PATH of the above export and also in the
    location of the python binary.

    Any suggestions greatly appreciated

    Matt
Working...