Virtualenv: Difference between revisions
From charlesreid1
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
Notes on how to use; http://docs.python-guide.org/en/latest/dev/virtualenvs/ | Notes on how to use; http://docs.python-guide.org/en/latest/dev/virtualenvs/ | ||
=Flag= | |||
[[Category:Python]] | |||
[[Category:Virtualenv]] | |||
Revision as of 02:41, 14 March 2018
Basic Usage
Determine where you want your virtual python to live. I'll use the directory ~/vp as an example.
Create your virtual python:
$ virtualenv vp $ cd vp
Activate your virtual python:
$ source bin/activate
Install stuff into your virtual python:
$ bin/pip install itertools
Links
Notes on how to use; http://docs.python-guide.org/en/latest/dev/virtualenvs/