I know there are plenty of questions related to PYTHONPATH but I couldn't find any answers to this specific problem.
I'm using Mac OS X Mountain Lion and just created my .bashrc file in my home directory (~/.bashrc) using the vi editor. I added the following line to the PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
After this, when I do an echo
of the PYTHONPATH, I get the above directory. Everything is hunky dory until...I quit the terminal and reopen it. That's when things get weird. I type in echo $PYTHONPATH
and get a blank space!
Any advice on this issue?