Nat TaylorBlog, Web Design & East Boston

Jupyter Notebook Virtual Environment

Published on

It is simple as the following to use a virtual environment for a Jupyter Notebook

python -m venv myname
source myname/bin/activate
(myname) python -m ipykernel_launcher install --user --name=myname
(myname) jupyter kernelspec list

I have grossly polluted my system’s global python installation with tons of packages, which makes writing shareable Notebooks difficult since pip -freeze so this is a better approach.

Popular Posts


Warning: Undefined array key 0 in /home/taylorwe/git/ntdc/functions.php on line 382

Post Navigation

«
»