diff --git a/guide/english/python/virtual-environments/index.md b/guide/english/python/virtual-environments/index.md index fd8f3d1528..3bdde4c342 100644 --- a/guide/english/python/virtual-environments/index.md +++ b/guide/english/python/virtual-environments/index.md @@ -51,10 +51,20 @@ lsvirtualenv ### Activate an Environment +Note : On Windows, activating a virtual environment requires the user to have the permission to run scripts. + Before you can start using the environment you need to activate it: + +For Mac OS or Linux systems : + ``` source my-env/bin/activate ``` +And for Windows : + +``` +.\my-env\Scripts\activate.bat +``` This ensures that only packages under `my-env/` are used.