In ~/.bash_profile
file (OS X) I've set PYTHONPATH to point to two folders:
export PYTHONPATH=/Applications/python/common:$PYTHONPATH
export PYTHONPATH=/Applications/sitecustomize:$PYTHONPATH
Even while sitecustomize
folder is set on a second line (after /common
)
the first path is ignored and I am not able to import any module from the path defined in a first line. What needs to be revised in above syntax to make both folders PYTHONPATHish to Python?