Created
April 24, 2015 15:49
-
-
Save yhtgrace/cd63982bbd8f2f1e73c1 to your computer and use it in GitHub Desktop.
Fixing PYTHONPATH for python 3.4 in bin/activate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # with pyvenv, activating my python 3.4 environment and running jupyter notebook | |
| # gives the following error | |
| # Your PYTHONPATH points to a site-packages dir for Python 2.x but you are running Python 3.x! | |
| # PYTHONPATH is currently: "/usr/local/lib/python2.7/site-packages:" | |
| # You should `unset PYTHONPATH` to fix this. | |
| # To fix this, append this to the end of the bin/activate file | |
| export PYTHONPATH=/usr/local/lib/python3.4/site-packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment