Skip to content

Instantly share code, notes, and snippets.

@brainsik brainsik/example.sh
Created Jul 31, 2011

Embed
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
@brainsik

This comment has been minimized.

Copy link
Owner Author

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
You can’t perform that action at this time.