Creating a virtual environment (by default, this will not include any of existing site packages):
# Python 3.6 and above
$ python3 -m venv ~/.virtualenv/<env-name>
In order to use this environment’s packages/resources in isolation, you need to “activate” it. To do this, just run the following: