Solving environment: failed InvalidVersionSpecError: Invalid version spec: =2.7

conda创建新的环境conda env create -f environment.yaml,产生错误
Solving environment: failed

InvalidVersionSpecError: Invalid version spec: =2.7

经查,

  1. 升级了pip
  2. conda clean --index-cache
  3. 升级了conda : conda update conda

并不知道具体哪一个起作用,反正好使了

参考文献

你可能感兴趣的:(python)