June 2017
Beginner to intermediate
274 pages
6h 49m
English
To activate a virtual environment, we open a command line and go to the folder containing the virtual environment:
Then, execute the activation command. The specific activation command we're using depends on the operating system.
On most Unix-style systems, including Macintosh, we use the $ source bin\activate command (as shown in the preceding screengrab). On Windows, we run Scripts\activate.bat.
We are operating inside an activated virtual environment, pip automatically knows it should manage packages for that environment:
Read now
Unlock full access