Add to python path in Linux

N

ninhenzo64

Hi,

I am trying to use wxPython under Linux. Unfortunately, our system
administrator has gone home for the holidays so I cannot get him to
install the libraries properly. However, I have unpacked the libraries
in my home directory, so if there was some way of adding this to the
path that Python searches libraries for, I think I can get around this
problem. Does anyone know a way of doing this? Basically I want to be
able to run this command in python:

The variable PYTHONPATH doesn't seem to exist. Well, this bash command
returns nothing:

<bash$> echo $PYTHONPATH

Any ideas anyone?

Cheers,

Henry
 
S

Sybren Stuvel

ninhenzo64 enlightened us with:
The variable PYTHONPATH doesn't seem to exist.

Yet it is the one you should use. It's got the same syntax as the
regular PATH variable.

Sybren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top