Anaconda Python激活环境变量的方法

2024-10-13 09:53:20

1、第一,Windows10系统下,按Win+R键启动运行,输入cmd,进入命令窗口,输入conda init,对conda 进行初始化,如果之前做过这步操作,将提示no change.

Anaconda Python激活环境变量的方法

3、第三,开始激活Anaconda Python的环境变量,输入conda info --envs,查看conda 环境变量的路径,如下图,base后边就是环境变量的路径。

Anaconda Python激活环境变量的方法

5、第五,激活环境变量后,再次输入python,就不会提示Warning了。

Anaconda Python激活环境变量的方法
猜你喜欢