【发布时间】:2021-02-08 11:54:13
【问题描述】:
我需要 conda 环境来运行一些 python 存储库。早些时候我在我的 Windows PC 中有代码,我安装了 Anaconda shell,其他的一切都很好。轻松 peasy!!
但是,现在我已将代码移至服务器(因为内存要求)。我使用 Putty 客户端访问该服务器,所有操作都必须使用 Putty shell 执行。我如何从那里运行 conda?我使用 pip install conda 安装了 conda,但每次尝试运行 conda 命令时,都会引发以下错误
ERROR: The install method you used for conda--probably either `pip install conda`
or `easy_install conda`--is not compatible with using conda as an application.
If your intention is to install conda as a standalone application, currently
supported install methods include the Anaconda installer and the miniconda
installer. You can download the miniconda installer from
https://conda.io/miniconda.html.
通过搜索,我发现使用 pip 安装的 conda 已损坏。所以我继续按照以下链接中的说明安装了迷你 conda:
https://mediawiki.middlebury.edu/CS/Useful_Tools
它确实顺利安装了 miniconda,但如果它尝试运行它仍然会给我与上面相同的错误。 有人可以帮忙吗?我需要卸载我使用 pip 安装的 conda 吗?
【问题讨论】: