Top "Pythonpath" questions

PYTHONPATH is an environment variable that can be used to augment the default search path for module imports in Python.

how to set environment variable for root user

I'm Mac user. I want to set PYTHONPATH env for root. so $ sudo su - # vi ~/.profile and add to …

macos environment sudo pythonpath
How to import multiple locations to PYTHONPATH (bash)

I know you can add multiple locations to python path by separating them by colons ie: export PYTHONPATH=~/one/location:~/…

python bash pythonpath
permanently remove directory from python path

I recently added some things to my python path that I don't want there using: export PYTHONPATH=$PYTHONPATH:/my/path …

python macos command-line pythonpath
Installed module using pip, not found

I am trying to install a package called "simpleguitk" via pip. (On Ubuntu 16.04 with Python 3.5) After running sudo -H pip3 …

python python-3.x ubuntu pip pythonpath
pip won't install Python packages locally with --user

I'm trying to install packages locally with pip. It used to work with --user but now when I try it, …

python package pip easy-install pythonpath
PYTHONPATH showing empty in ubuntu 13.04

when i do echo $PYTHONPATH it returns nothing..empty line. so what does that mean. Im using python and it's …

python-2.7 ubuntu selenium-webdriver pythonpath robotframework
Python: select one of multiple installed module versions

On my system, I have several modules installed multiple times. To give an example, numpy 1.6.1 is installed in the standard …

python module pythonpath versions sys.path
Apache with virtualenv and mod_wsgi : ImportError : No module named 'django'

I'm trying to serve a little django project with the following Apache configuration : Apache virtualhost configuration : <VirtualHost *> ServerName …

django apache mod-wsgi pythonpath
How do I make PyScripter work? Says it cant find python26.dll

I installed PyScript to try it out but it just wont start. It only gives me the error: "Error126: Could …

python pythonpath pyscripter
PYTHONPATH not working for sudo on GNU/Linux (works for root)

EDIT: Works for root, sudo is the problem. Read below. I have a directory with my own libraries, e.g. …

python linux macos bash pythonpath