当前位置:网站首页>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 .
边栏推荐
- 本地浏览器打开远程服务器上的Jupyter Notebook/Lab以及常见问题&设置
- Clickhouse Native Monitoring item, System table Description
- PyTorch量化实践(2)
- Sqlserver gets the data of numbers, Chinese and characters in the string
- Reading notes of Clickhouse principle analysis and Application Practice (1)
- Encryption and decryption and the application of OpenSSL
- ArcGIS construction and release of simple road network data service and rest call test
- Sqlserver string type converted to decimal or integer type
- FreeRTOS record (IX. an example of a bare metal project transferring to FreeRTOS)
- 针对美国国家安全局“酸狐狸”漏洞攻击武器平台的分析与应对方案建议
猜你喜欢

Rethink healthy diet based on intestinal microbiome

SQL server extracts pure numbers from strings

Prediction and regression of stacking integrated model

Multi table operation - foreign key constraint

本地浏览器打开远程服务器上的Jupyter Notebook/Lab以及常见问题&设置
测试媒资缓存问题

PyTorch量化实践(1)

Text recognition svtr paper interpretation

Phoenix architecture: an architect's perspective

【无标题】
随机推荐
1-19 利用CORS解决接口跨域问题
A group of K inverted linked lists
请问,启牛证券开户,可以开户吗?安全吗?你想要的答案全在这里
Multi table operation - foreign key constraint
1-12 preliminary understanding of Express
To the Sultanate of Anderson
1-13 express listens to get and post requests & processes requests
Why have the intelligent investment advisory products collectively taken off the shelves of banks become "chicken ribs"?
Clickhouse distributed table engine
侧睡哈哈哈哈
[grade evaluator] how to register a grade evaluator? How many passes?
Understanding polymorphism
Phoenix architecture: an architect's perspective
本地浏览器打开远程服务器上的Jupyter Notebook/Lab以及常见问题&设置
1-15 nodemon
Metauniverse may become a new direction of Internet development
CA I ah, several times Oh, ah, a sentence IU home Oh
12345
qsort函数和模拟实现qsort函数
How to move forward when facing confusion in scientific research? How to give full play to women's advantages in scientific research?