Contact Systems Misc |
Installing Python ModulesIf you are installing a module source distribution using the Distutils, the instructions will tell you to use python setup.py install This will try to install the module in python's standard location.
If you aren't an administrator you won't have permissions to perform this install. You should instead install in a directory for which you do have write permission; such as your home directory. python setup.py install --prefix=~/python This will install into ~/python/lib/python<version>/site-packages. You can check your python version with python --version Currently on Linux (ix), this will install into jdash@ix: ~ 292$ python --version Python 2.7.6 paul@ix: ~ 293$ export PYTHONPATH=~/python/lib/python2.7/site-packages References |