康达安装sklearn_crfsuite在spyder中不起作用

时间:2018-10-17 10:08:35

标签: python scikit-learn anaconda spyder conda

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

命令:conda install sklearn_crfsuite

Solving environment: ...working... failed

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

  - sklearn_crfsuite;

Spyder版本:3.2.8

有人可以帮我吗?

1 个答案:

答案 0 :(得分:1)

解决了这个问题。

如果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