Setting up and activating virtual environments with venv
differs between Unix and Windows operating systems.
Note: In this course, you’re using venv
as the name of your virtual environment.
Creating and activating a virtual environment on a Unix system:
$ python3 -m venv ./venv
$ source venv/bin/activate
Creating and activating a virtual environment on a Windows system: :
c:\> c:\Python35\python -m venv c:\path\to\venv
c:\> venv\Scripts\activate.bat
Here are some resources and additional documentation about setting up virtual environments: