Created
July 31, 2011 15:49
-
-
Save brainsik/1116901 to your computer and use it in GitHub Desktop.
hack so mkvirtualenv uses a different interpreter
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
# create a temporary directory | |
mkdir tmp_python; cd tmp_python | |
# symlink "python" to the interpreter you want | |
ln -s `which python2.6` python | |
# have mkvirtualenv use the python symlink | |
PATH="$PWD:$PATH" mkvirtualenv py26party | |
# clean up | |
cd ..; rm -rf tmp_python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don't do this. :-) Use
mkvirtualenv -p
.