How to realize dynamic switching of multiple conda environments by windos jupyter
This article focuses on "windos jupyter dynamic switching multiple conda environment how to achieve", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "windos jupyter dynamic switching multiple conda environment how to achieve" it!
List all current kernel
(web37) C:\ Users\ 10103 > jupyter kernelspec listAvailable kernels: web37 C:\ Users\ 10103\ AppData\ Roaming\ jupyter\ kernels\ web37 python3 D:\ tools\ Anaconda3-2020.02\ envs\ web37\ share\ jupyter\ kernels\ python3
Delete kerenl
Jupyter kernelspec remove kernelname
Create a virtual environment
Conda create-n web37 python=3.6.2
Activate the environment
Conda activate web37
Create kernel
Python-m ipykernel install-user-name=web37conda install pywin32
Start jupyter
Jupyter notebook
Toggle kernel
Import sysprint (sys.executable)
At this point, I believe you have a deeper understanding of "windos jupyter dynamically switching multiple conda environments". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!