Anaconda: Install specific packages from specific channels using environment.yml

后端 未结 1 362
面向向阳花
面向向阳花 2020-12-24 13:42

does anyone know how to construct an Anaconda environment.yml file so that it installs specific packages from specific channels?

Something like this:



        
1条回答
  •  有刺的猬
    2020-12-24 14:27

    I saw something like

    dependencies:
    - chanelname::modulename=X.Y.Z
    

    Update It now implemented: https://github.com/conda/conda/issues/7202

    Old answer Be carefull since it doesn't seemed to be implemented. A channel is, by design, a "space" where depencies are robust. So removing this might break dependencies.

    0 讨论(0)
提交回复
热议问题