Skip to content

Instantly share code, notes, and snippets.



Created Jul 31, 2011
What would you like to do?
hack so mkvirtualenv uses a different interpreter
# 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

This comment has been minimized.

Copy link
Owner Author

@brainsik brainsik commented Oct 12, 2013

Don't do this. :-) Use mkvirtualenv -p.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment