From 2328030afa4faf035e78bb47944d9c71b3886fc9 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Tue, 30 Apr 2019 12:09:30 -0400 Subject: [PATCH] Correct command in readme --- readme.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 275da7d..ab6be45 100644 --- a/readme.md +++ b/readme.md @@ -32,7 +32,7 @@ The `venv` package is generally shipped with Python3, although some OS distros s This method will only work with Python version 3 or higher. - * To use, call `python<version> -m venv </path/to/new/virtual/environment>`.<br> + * To use, call `python<version> -m venv </path/to/new/virtual/environment>`. * Ex: `python3.5 -m venv ./my_environment` ### Virtualenv @@ -41,7 +41,7 @@ Virtualenv is a third party package that's officially supported by the PyPA (Pyt This method can be used on any Python version. * First, install with `pip install virtualenv`. - * To use, call `virtualenv --python=python<verion> </path/to/new/virtual/environment>`.<br> + * To use, call `virtualenv --python=python<verion> </path/to/new/virtual/environment>`. * Ex: `virtualenv --python=3.5 ./my_environment` @@ -49,8 +49,11 @@ This method can be used on any Python version. Either of the above methods should essentially provide the same result. * Linux/Mac: - * To load an environment, use `source </path/to/environment>`. + * To load an environment, use `source </path/to/environment>/bin/activate`. + * Ex: `source ./my_env/bin/activate` + * When successfully loaded, the console will generally display the name of the environment. * To unload an environment, use `deactivate`. + * When successfully unloaded, the console will no longer display the name of the environment. ## Organizing Virtual Environments -- GitLab