Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize dynamic switching of multiple conda environments by windos jupyter

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report