我有以下 conda 环境文件 environment.yml
:
name: testproject
channels:
- defaults
dependencies:
- python=3.7
prefix: /opt/projects/testproject
创建环境之前,仅存在基础环境:
(base) me@mymachine:/opt/projects/testproject$ conda env list
# conda environments:
#
base * /opt/anaconda/anaconda3
尝试创建环境时,出现以下错误:
(base) me@mymachine:/opt/projects/testproject$ conda create -f environment.yml
CondaValueError: The target prefix is the base prefix. Aborting.
这个错误是什么意思?
最佳答案
关于python - CondaValueError : The target prefix is the base prefix. 正在中止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56871882/