-
Create a python virtual environment using either
pipenv
orvirtualenv
-
Open up
cmd.exe
, activate the virtual environment and issue the following to commandspipenv install jupyter
pipenv install ipykernel
-
To create the custom
ipython
kernel, issue the following commandspython -m ipykernel install --user --name other-env --display-name "whatever name you want to give the kernel"
python -m ipykernel install --user --display-name "whatever name you want to give the kernel"
-
The
--name other-env
argument, value pair is optional. See here for explanation -
Now when you reload your
ipython/jupyter
notebooks you should see the newly created kernel listed under kernels. You can see some kernels I've created in the screenshot below.
Last active
September 24, 2019 10:33
-
-
Save chidimo/fa24e4172649e99eb1912c921117c7f6 to your computer and use it in GitHub Desktop.
How to create a custom ipython, aka jupyter notebook kernel with a python virtual environment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
al right it's fine for me.