python.md (376B)
1 # python 2 3 ## configuring [virtualenv][] 4 - install package 5 ``` 6 python3 -m pip install --user virtualenv 7 ``` 8 - create virtualenv 9 ``` 10 python3 -m virtualenv env_dir 11 ``` 12 - activating and leaving virtualenv 13 ``` 14 source env_dir/bin/activate 15 deactivate 16 ``` 17 18 [virtualenv]: https://packaging.python.org/guides/installing-using-pip-and-virtualenv/