在我运行 conda env create -f environment.yml
之后在 Conda 中,我收到以下警告:
Warning : you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies...
这是什么意思,我应该怎么做?
最佳答案
在您通过 conda 安装的软件包列表下的环境 yml 文件中,您还必须添加 pip 作为要安装的软件包。这将安装 pip,因此您可以使用此 pip 安装 pip 包。
以前 pip 与 conda 一起提供,但现在我们必须在使用 conda 时显式安装 pip
关于python - 运行命令 "conda env create -f environment.yml"后发出警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58544099/