当前位置:网站首页>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!
边栏推荐
- 存储、计算、分布式虚拟化篇(收集整理适合小白)
- 3. Believe you can understand! Circular statements and functions of shell scripts, arrays, bubble sorting
- Radio and multi selection buttons of swing components
- Ansible部署指南
- Angr (VI) -- angr_ ctf
- Pow(x,n)
- 4. FTP service configuration and principle
- Angr(二)——angr_ctf
- Array static initialization, traversal, maximum value
- conda 配置深度学习环境 pytorch transformers
猜你喜欢

5. This simple "echo" usage, can the child next door!
构建 Dompteur 容器问题小记

Angr (VII) -- angr_ ctf

5.NFS共享服务和ssh远程控制服务

conda 配置深度学习环境 pytorch transformers

1. Shell programming specifications and variables

5. NFS shared services and SSH Remote Control Services

FRP reverse proxy deployment

Angr (V) - angr_ ctf

Number theory -- Research on divisor
随机推荐
Angr (III) - angr_ ctf
Ansible Deployment Guide
集合的创建,及常用方法
Angr(八)——angr_ctf
Supervisor deployment (offline deployment requires downloading the deployment package in advance)
虚拟专线网络部署
MySQL solves the problem of not supporting Chinese
Swing component
平凡人的一生的意义是什么?
9.shell文本处理三剑客之awk
5.这简单的 “echo” 用法隔壁小孩能不会吗!
2021 京东笔试总结
Fastdfs离线部署(图文)
软件测试笔记,测试用例设计
常用类的小知识
多线程——Callable接口,lambda
Ansible部署指南
[untitled]
配置FTP虚拟用户及访问控制
Vs Code connects to the remote jupyter server
https://medium.com/@nrk25693/how-to-add-your-conda-environment-to-your-jupyter-notebook-in-just-4-steps-abeab8b8d084