Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 538 Bytes

File metadata and controls

20 lines (18 loc) · 538 Bytes

Virtual Environments with pipenv

Virtual environments give you a clean python setup. You create a virtual environment with pipenv by typing

pipenv install

You 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 shell

This 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