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:
$ source ~/.virtualenv/<env-name>/bin/activate
(env-name) $To go back to system:
(env-name) $ deactivateOnce a virtual environment has been activated, install packages via
$ pip install <package-name>To start jupyter (after activating the virtual environment):
$ jupyter notebook