See stackoverflow and https://ipython.readthedocs.io/en/stable/install/kernel_install.html
In your project folder:
pipenv install ipykernel
pipenv shellThis will bring up a terminal in your virtualenv like this:
(my-virtualenv-name) bash-4.4$In that shell do:
python -m ipykernel install --user --name=my-virtualenv-nameLaunch jupyter notebook:
jupyter notebookIn your notebook, Kernel -> Change Kernel. Your kernel should now be an option.
Uninstall unwanted kernels:
- get the paths of all your kernels
jupyter kernelspec list - remove kernel
jupyter kernelspec uninstall unwanted-kernel
Thanks! It helped alot