当前位置:网站首页>Jupyter notebook/lab switch CONDA environment
Jupyter notebook/lab switch CONDA environment
2022-06-30 21:37:00 【A big cat who wants to lie flat every day】
stay jupyter in , We often have different switches conda Environmental needs , Here is a summary of the required steps .
Before that, first answer a question I had doubts about :
Need to be in every conda Installed in all environments jupyter Do you ? The answer is no need for , Just in base Installation in the environment jupyter, In the rest of the environment, only ipykernel Can .
Here are the steps , before this ,base The environment should already have jupter.
1. Activate the corresponding environment
conda activate EnvName
2. Install in the corresponding environment ipykernel
conda install ipykernel
3. take Environmental Science Write to notebook in
python -m ipykernel install --user --name EnvName --display-name "EnvName"
4. stay base Restart in the environment jupyter notebook Background services
conda deactivate
# go back to base Environmental Science :
conda activate base
# restart jupyter service :
jupyter notebook --allow-root --config=jupyter_notebook_config.py
Now the newly opened notebook You can see the environment selection in .
边栏推荐
- Metauniverse may become a new direction of Internet development
- 银行集体下架的智能投顾产品,为何成了“鸡肋”?
- Multi table operation - foreign key constraint
- 请问,启牛证券开户,可以开户吗?安全吗?你想要的答案全在这里
- Ten security measures against unauthorized access attacks
- vim 常用快捷键
- Et la dégradation du modèle de génération de texte? Simctg vous donne la réponse
- [grade evaluator] how to register a grade evaluator? How many passes?
- Radar data processing technology
- 1-21 jsonp interface
猜你喜欢

clickhouse原生监控项,系统表描述

Reading notes of Clickhouse principle analysis and Application Practice (3)

Icml2022 | utility theory of sequential decision making

pytorch geometric torch-scatter和torch-sparse安装报错问题解决

用yml文件进行conda迁移环境时的报错小结

Deployment and use of Nacos
Understand what MySQL index push down (ICP) is in one article

Dm8: generate DM AWR Report

Clickhouse Native Monitoring item, System table Description

jupyter notebook/lab 切换conda环境
随机推荐
sdfsdf
1-15 nodemon
Side sleep ha ha ha
请问,启牛证券开户,可以开户吗?安全吗?你想要的答案全在这里
开发属于自己的包
jenkins下载插件下载不了,解决办法
SQL server extracts pure numbers from strings
Clickhouse Native Monitoring item, System table Description
Zaah Sultan looks at the old driver
12345
Upgrade Kube with unknown flag: --network plugin
Auto-created primary key used when not defining a primary key
1-2 安装并配置MySQL相关的软件
Flutter 嵌套地狱?不存在的,ConstraintLayout 来解救!
Icml2022 | utility theory of sequential decision making
asp.net core JWT传递
How to run jenkins build, in multiple servers with ssh-key
根据肠道微生物组重新思考健康饮食
用yml文件进行conda迁移环境时的报错小结
全面认识痛风:症状、风险因素、发病机理及管理