conda install sklearn_crfsuite 在 spyder 中不工作

conda install sklearn_crfsuite not working in spyder

我是 spyder 的新手,正在尝试弄清楚如何安装 sklearn_crfsuite。这是我在 spyder ipython 控制台中安装时遇到的错误:

命令:conda 安装sklearn_crfsuite

Solving environment: ...working... failed

PackagesNotFoundError: The following packages are not available from current channels:

  - sklearn_crfsuite;

Spyder 版本:3.2.8

有人可以帮我解决这个问题吗?

解决了这个问题。

如果某个包无法从 conda 或 Anaconda.org 获得,您可以使用其他包管理器(如 pip)找到并安装该包。

Step 1 : install pip in current conda environment with the command 'conda install pip'
Step 2 : install the required package with the command 'pip install sklearn_crfsuite'
Step-3 : verify package is installed with the command 'conda list'

参考:https://conda.io/docs/user-guide/tasks/manage-pkgs.html#installing-non-conda-packages