What does conda do when “solving environment”

后端 未结 3 1471
盖世英雄少女心
盖世英雄少女心 2021-02-02 05:22

Whenever I run conda install/remove/update , it tells me it\'s \"Solving environment\" for some time before telling me the list of things it\'s going

相关标签:
3条回答
  • 2021-02-02 06:02

    conda install --prune <<package>> helped me to install the right channel.

    Suspecting environment used are for zipline and channel used not compatible with existing one. prune takes a lot of time but helped me in solving the environment issues.

    0 讨论(0)
  • 2021-02-02 06:08

    You can add --debug option to the conda command and see the output from console(or terminal). For example, type conda update --debug numpy. From the output, we can see that the client requests repodata.json from channel list and do some computation locally in the Solving Environment Step.

    0 讨论(0)
  • 2021-02-02 06:09

    As a side note on the "Solving Environment" step...
    Lack of administrator privileges may affect whether or where you can install python packages.

    I observed that my installs would hang on the "Solving Environment" step and never get through when attempting to install packages while logged in as a non-administrator.

    Getting switched to admin was possible for me on the machine I was stuck on, so I just did that and it solved the problem.

    Commenter explains workaround when this is not possible.

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