-
-
Save ctwoprod/12ee83c09c1fd1be37eec5f353d60a39 to your computer and use it in GitHub Desktop.
Revisions
-
pandafulmanda revised this gist
Jun 3, 2017 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,15 +16,15 @@ To install virtualenv via pip run: $ pip3 install virtualenv ``` ##### Usage Creation of virtualenv: ```bash $ virtualenv -p python3 <desired-path> ``` Activate the virtualenv: ```bash $ source <desired-path>/bin/activate ``` Deactivate the virtualenv: -
pandafulmanda revised this gist
Jul 11, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,6 +8,8 @@ $ brew install python3 ``` Pip3 is installed with Python3 ##### Installation To install virtualenv via pip run: ```bash -
pandafulmanda revised this gist
Jul 11, 2016 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,19 +5,19 @@ * Pip 3 ```bash $ brew install python3 ``` ##### Installation To install virtualenv via pip run: ```bash $ pip3 install virtualenv ``` ##### Uasge Creation of virtualenv: ```bash $ virtualenv -p python3 <name> ``` Activate the virtualenv: @@ -29,3 +29,6 @@ Deactivate the virtualenv: ```bash $ deactivate ``` [About Virtualenv](https://virtualenv.pypa.io/en/stable/) -
akszydelko revised this gist
Jun 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ ## Python3 Virtualenv Setup ##### Requirements * Python 3 -
akszydelko revised this gist
Jun 25, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ ###Python3 Virtualenv Setup ##### Requirements * Python 3 * Pip 3 -
akszydelko revised this gist
Jun 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ $ sudo apt-get install python3 python3-pip ##### Installation To install virtualenv via pip run: ```bash $ [sudo] pip3 install virtualenv ``` ##### Uasge -
akszydelko revised this gist
Jun 25, 2016 . 2 changed files with 29 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ ##### Requirements * Python 3 * Pip 3 ```bash $ sudo apt-get install python3 python3-pip ``` ##### Installation To install virtualenv via pip run: ```bash $ pip3 install virtualenv ``` ##### Uasge Creation of virtualenv: ```bash $ virtualenv <name> --no-site-packages ``` Activate the virtualenv: ```bash $ source <name>/bin/activate ``` Deactivate the virtualenv: ```bash $ deactivate ``` -
evansneath revised this gist
Feb 17, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,5 +14,5 @@ To use the virtual environment $ cd somewhere/virtualenvs/<project-name>/bin $ source activate You are now using the virtual environment for <project-name>. To stop: $ deactivate -
evansneath renamed this gist
Jan 27, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
evansneath created this gist
Jan 21, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ To install virtualenv via pip $ pip3 install virtualenv Note that virtualenv installs to the python3 directory. For me it's: $ /usr/local/share/python3/virtualenv Create a virtualenvs directory to store all virtual environments $ mkdir somewhere/virtualenvs Make a new virtual environment with no packages $ virtualenv somewhere/virtualenvs/<project-name> --no-site-packages To use the virtual environment $ cd somewhere/virtualenvs/<project-name>/bin $ source activate You are no using the virtual environment for <project-name>. To stop: $ deactivate