mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-26 14:40:16 +00:00
Update README.md
This commit is contained in:
parent
011ffc4de6
commit
35e7587b05
1 changed files with 4 additions and 4 deletions
|
@ -2382,15 +2382,15 @@ tree
|
|||
```
|
||||
##### set up virtualenv(sandbox) for python
|
||||
```bash
|
||||
#1. install virtualenv
|
||||
#1. install virtualenv.
|
||||
sudo apt-get install virtualenv
|
||||
#2. start a virtualenv
|
||||
#2. Creat a directory (name it .venv or whatever name your want) for your new shiny isolated environment.
|
||||
virtualenv .venv
|
||||
#3. source virtual bin
|
||||
source .venv/bin/activate
|
||||
#4. you can check check if you are now inside a sandbox
|
||||
#4. you can check check if you are now inside a sandbox.
|
||||
type pip
|
||||
#5. Now you can install your pip package, here requirements.txt is simply a txt file containing all the packages you want. (e.g tornado==4.5.3)
|
||||
#5. Now you can install your pip package, here requirements.txt is simply a txt file containing all the packages you want. (e.g tornado==4.5.3).
|
||||
pip install -r requirements.txt
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue