From 35e7587b050b29b58c49d9e31d6429f0133fbdd3 Mon Sep 17 00:00:00 2001 From: onceupon Date: Wed, 7 Mar 2018 11:14:50 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0cef5d8..6423dd2 100644 --- a/README.md +++ b/README.md @@ -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 ```