首页 > 解决方案 > conda install sklearn_crfsuite 在 spyder 中不起作用

问题描述

我是 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;

蜘蛛版本:3.2.8

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

标签: pythonscikit-learnanacondaspyderconda

解决方案


解决了这个问题。

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


推荐阅读