stay Linux perhaps Mac Create a virtual environment using the following commands in the environment
# Create project
$ mkdir myproject
# Enter the project directory
$ cd myproject
# Creating a virtual environment
$ python3 -m venv venv
stay linux System , As the first 1 Section, execute the following command , To activate this virtual environment .
$ . venv/bin/activate