Virtual environments give you a clean python setup. You create a virtual environment with pipenv by typing
pipenv installYou can use any ordinary pip command with pipenv. In order to add the current virtual environment to your jupyter kernels run
pipenv install ipykernel
pipenv shellThis will bring up a prompt similar to
(my-virtualenv-name) bash$To install the kernel for jupyter notebooks run
python -m ipykernel install --user --name=my-virtualenv-name