Skip to content

Instantly share code, notes, and snippets.

@tonyskapunk
Last active March 1, 2018 19:53
Show Gist options
  • Save tonyskapunk/433762caf6669a2685aa686b487c4ea3 to your computer and use it in GitHub Desktop.
Save tonyskapunk/433762caf6669a2685aa686b487c4ea3 to your computer and use it in GitHub Desktop.
virtual env

Creating

$ virtualenv a24
$ source a24/bin/activate
$ pip install ansible
$ ansible --version
ansible 2.4.0.0

Disabling

deactivate

Enabling

source a24/bin/activate

Creating requirements.txt

pip freeze > requirements.txt

Destroying

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