Last active
November 4, 2015 21:37
-
-
Save zzbennett/cd61279b6f4677dee477 to your computer and use it in GitHub Desktop.
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
export VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
export VIRTUALENVWRAPPER_VIRTUALENV=/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv | |
export PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/opt/X11/bin:/usr/lib/jvm/jdk1.7.0_25/bin:/usr/local/heroku/bin:/Users/liz/workspace/vagrant/bin:/Users/liz/bin/activator-1.2.10-minimal:/Users/liz/bin/play-2.1.5:/Users/liz/bin/play-2.1.5/framew ork:/var/scala/scala-2.10.4/bin:/Users/liz/bin" | |
source /usr/local/bin/virtualenvwrapper.sh | |
ERROR on command line: | |
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named virtualenvwrapper | |
virtualenvwrapper.sh: There was a problem running the initialization hooks. | |
If Python could not import the module virtualenvwrapper.hook_loader, | |
check that virtualenvwrapper has been installed for | |
VIRTUALENVWRAPPER_PYTHON=/Library/Frameworks/Python.framework/Versions/2.7/bin/python and that PATH is | |
set properly. | |
the cause of all evil: | |
liz@Elizabeths-MacBook-Pro:~ » "$VIRTUALENVWRAPPER_PYTHON" -m 'virtualenvwrapper.hook_loader' | |
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named virtualenvwrapper | |
liz@Elizabeths-MacBook-Pro:~ » echo $VIRTUALENVWRAPPER_PYTHON | |
/Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
liz@Elizabeths-MacBook-Pro:~ » /Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
Python 2.7.6 (v2.7.6:3a1db0d2747e, Nov 10 2013, 00:42:54) | |
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import sys | |
>>> print sys.executable | |
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment