当前位置:网站首页>Add CONDA virtual environment env to the Jupiter kernel
Add CONDA virtual environment env to the Jupiter kernel
2022-07-25 10:30:00 【Haulyn5】
jupyter Running notebook You can choose the right kernel, It's just like conda A virtual environment , But it seems that the two are not directly interlinked . Some operations are needed to notebook Switch virtual environments in .
First, switch to the virtual environment you need to join , Use conda activate command . Then install ipykernel package .
conda install ipykernelThen execute a magical command to add the current virtual environment jupyter kernel.
python -m ipykernel install --user --name=dev38_envAfter establishing notebook, Then select kernel.

You can see the newly added Kernel You can already choose .
It should be noted that it may take some time to wait here , You can't see it after just executing the order . I thought I needed to restart jupyter Can be used , Looking for your own restart script , Then I found that I can use new kernel Ha ha
That is all. Since this website needs more words, I will give it more words.
Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those!
边栏推荐
- 2.shell脚本之条件语句
- Angr(八)——angr_ctf
- 如何通过开源数据库管理工具 DBeaver 连接 TDengine
- How to connect tdengine through open source database management tool dbeaver
- 9. Shell text processing three swordsmen awk
- Mysql5.7主从数据库部署(离线部署)
- 安装mysql时,string the service 安装失败>mysql80启动失败
- Erlang(离线部署)
- Set creation and common methods
- Angr (VIII) -- angr_ ctf
猜你喜欢
随机推荐
Angr (IX) -- angr_ ctf
常用类的小知识
复现 ASVspoof 2021 baseline RawNet2
Angr (IV) -- angr_ ctf
Angr(十)——官方文档(Part1)
Erlang(离线部署)
For cycle: daffodil case
Chrome开发者工具详解
Ansible Deployment Guide
Test plan and test plan
6.shell之正则表达式
11.iptables 防火墙
TCP transmission
5.NFS共享服务和ssh远程控制服务
Yiwen society, three necessary packet capturing tools for hackers
2.介绍部署LAMP平台+DISCUZ论坛
Trojaning Attack on Neural Networks 论文阅读笔记
2021 京东笔试总结
10.expect免交互
MySQL offline deployment
https://medium.com/@nrk25693/how-to-add-your-conda-environment-to-your-jupyter-notebook-in-just-4-steps-abeab8b8d084





