Spyder IDE Unittest 插件与哪个 conda 通道无关

Spyder IDE Unittest Plugin does it matter which conda channel

Spyder github repo Unittest 插件仅列出了 2 个安装插件的选项:使用 conda spyder-ide 通道,以及 pip。

我已经能够使用 conda forge 通道安装插件,如 here 中所述。

使用哪个渠道安装插件有区别吗?

简短回答:不,应该没什么区别。

更长的答案:在 Proceed ([y]/n? 提示符下按 y 之前,您可能需要检查要安装的任何依赖项的版本,以及将从哪些渠道安装它们 - 特别是如果您正在安装到现有环境中,您可能希望稍后升级其他软件包。如果您乐于让您的环境依赖于来自 conda-forge 的包,那么使用 conda-forge 包没有问题;否则(除非更有知识的人可以纠正我)我会尝试坚持使用 spyder-ide 频道包。

This article on the conda-forge website

The conda-forge and defaults are not 100% compatible. (...) that mismatch can lead to errors when the install environment is mixing packages from multiple channels.

有关更长时间的讨论,请参阅

一如既往,来自 conda-forge 页面的这条建议值得遵循:

we recommend always installing your packages inside a new environment instead of the base environment from anaconda/miniconda. Using envs make it easier to debug problems with packages and ensure the stability of your root env.