如何将conda SAT求解器修剪Python选项调试为零?

时间:2019-07-17 12:24:46

标签: python dependencies anaconda conda sat

我观察到conda install ...失败,其中conda SAT求解器将python的选项修剪为零:

{snip}
DEBUG conda.resolve:filter_group(400): scipy: pruned from 391 -> 127
DEBUG conda.resolve:filter_group(400): python: pruned from 70 -> 0
DEBUG conda.common.logic:get_sat_solver_cls(281): Using SAT solver interface 'pycosat'.
DEBUG conda.resolve:gen_clauses(688): gen_clauses returning with clause count: 81241
{snip}

我想知道:

如何调试它?

也就是说,如何获取conda SAT求解器,以提供一些有关哪些软件包的python规格冲突的线索?

1 个答案:

答案 0 :(得分:0)

conda install最多接受三遍选项-v,每次提供更多输出。您的输出显示DEBUG级别,因此您可以将TRACE级别提高一个。

https://docs.conda.io/projects/conda/en/latest/commands/install.html#Output,%20Prompt,%20and%20Flow%20Control%20Options