退出 Conda base 虚拟环境回到系统环境1. Deactivating an environmentReferences1. Deactivating an environmentTo deactivate an environment, type:conda deactivateConda removes the path name for the currently active environment from your system command.To simply return to the base environment, it’s better to callconda activatewith no environment specified, rather than to try todeactivate.If you runconda deactivatefrom your base environment, you may lose the ability to run conda at all. Don’t worry, that’s local to this shell - you can start a new one. However, if the environment was activated using--stack(or was automatically stacked) then it is better to useconda deactivate.conda activateandconda deactivateonly work on conda 4.6 and later versions.For conda versions prior to 4.6, run:Windows:activateordeactivateLinux and macOS:source activateorsource deactivate退出与进入虚拟环境 Conda base(base) yongqiangfamu-sys:~$ conda deactivate yongqiangfamu-sys:~$ yongqiangfamu-sys:~$ conda activate (base) yongqiangfamu-sys:~$ (base) yongqiangfamu-sys:~$ conda deactivate yongqiangfamu-sys:~$References[1] Yongqiang Cheng (程永强), https://yongqiang.blog.csdn.net/[2]Managing environments, https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html[3] 退出 Conda base 虚拟环境回到系统环境, https://mp.weixin.qq.com/s/jDnRe5jy878v-GXinY8rag