Skip to content

Instantly share code, notes, and snippets.

@mlocher
Last active August 29, 2015 14:04
Show Gist options
  • Save mlocher/b7864384b50627a620cb to your computer and use it in GitHub Desktop.
Save mlocher/b7864384b50627a620cb to your computer and use it in GitHub Desktop.
python3_virtualenv
#!/bin/sh
virtualenv -p `which python3` ~/.python3_venv
. ~/.python3_venv/bin/activate
@zyga
Copy link

zyga commented Oct 14, 2014

Use /bin/sh and '.' instead of source (faster, more secure)

@mlocher
Copy link
Author

mlocher commented Nov 5, 2014

Updated, thx @zyga for the comment!

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