jupyter的一些坑

Add Virtualenv as Python KernelPermalink
Replace your-venv with your virtualenv name

Activate the virtualenv

$ source your-venv/bin/activate
Install jupyter in the virtualenv

(your-venv)$ pip install jupyter
Add the virtualenv as a jupyter kernel

(your-venv)$ ipython kernel install --name "local-venv" --user
You can now select the created kernel your-env when you start Jupyter

posted @ 2020-10-29 16:57  zoheth  阅读(119)  评论(0)    收藏  举报