我的 C:\Users\username\.conda\envs
中有很多 conda 环境目录。由于这个原因,我一直面临很多内存问题。我打算在我的 D
中完全重新安装 Anaconda驾驶。但我想确认这实际上会创建 envs
在我的 D
开车而不是在我的 C
驾驶。
此外,如果它确实创建了 envs
在 D
然后从 C:\Users\username\.conda\envs
复制粘贴环境文件夹进入新创建的envs
成功恢复我的 conda 环境?
最佳答案
来自 Anaconda docs: Moving Anaconda from one directory to another :
Anaconda environment management requires known paths, and Anaconda must know the exact path where it is installed at installation time.
If you simply copy the Anaconda files to a new directory, Anaconda will not work.
To move Anaconda from one directory to another:
OPTIONAL: Save your environments using the conda managing environments instructions.
- Uninstall Anaconda.
- Go to the new directory and install it there following the Anaconda installation instructions.
OPTIONAL: Restore your environments using the conda managing environments instructions.
关于memory - 在 D 驱动器上安装 Anaconda 是否会在 D 驱动器上保存 conda 环境?或者它们仍然存储在C盘?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61996267/