memory - 在 D 驱动器上安装 Anaconda 是否会在 D 驱动器上保存 conda 环境?或者它们仍然存储在C盘?

标签 memory installation anaconda conda reinstall

我的 C:\Users\username\.conda\envs 中有很多 conda 环境目录。由于这个原因,我一直面临很多内存问题。我打算在我的 D 中完全重新安装 Anaconda驾驶。但我想确认这实际上会创建 envs在我的 D开车而不是在我的 C驾驶。
此外,如果它确实创建了 envsD然后从 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.

  1. Uninstall Anaconda.
  2. 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/

相关文章:

PHP:在循环中存在一些内存问题

windows - Windows 安装程序 : admin, 非管理员或两者的最佳实践?

r - 如何设置安装了 conda 的 R 以与 RStudio 一起使用?

python - 如何通过 http 和 https 为 conda/anaconda 配置代理?

c# - "readonly"(C#) 会减少内存使用吗?

linux - 无法通过 Linux 内核模块 (Ubuntu) 写入内核内存

java - 销毁java对象

ruby-on-rails - Rails 3找不到sqlite3-ruby

android - 安装错误 : INSTALL_FAILED_UID_CHANGED Non-rooted Android Phone

python - anaconda环境安装本地包