Create conda environment: “Found conflicts!” when solving environment and “Finding shortest conflict path” running forever

后端 未结 7 1425
囚心锁ツ
囚心锁ツ 2020-12-18 20:15

I was provided with an environment.ubuntu.yml file to be able to create a conda environment. However, running conda create env --file environment.ubuntu.y

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-18 20:41

    In my case, I had replaced some of the build versions (the ...=he4413a7_1000 part) as the ones in the original file had been relabelled as broken on conda-forge. However, even though the version number hadn't changed for these dependencies, their subdependencies had changed, causing all these conflicts. The bottom line is: don't mess with dependencies manually.

    I solved the problem by keeping the original build version specifications, and adding conda-forge/labels/broken to the channels part of the .ymlfile.

提交回复
热议问题