python - 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
有人可以帮我解决这个问题吗?
解决方案
解决了这个问题。
如果 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
推荐阅读
- javascript - 通过参数返回对象属性的文档函数
- mysql - 按基线日期计算重复数据
- r - 为 Plotly 修改 y 轴上的字体大小
- sql - 选择时间组和数据透视语句中的最新和最早时间
- css - 缓存 svg 文件。使用 img 标签还是 svg 标签?
- gml - 运动速度不在状态机中更新
- javascript - Babel 和 Webpack es6 错误,尝试了许多修复,但无法正常工作
- python - 熊猫:从镶木地板文件中读取前 n 行?
- javascript - NodeJS - 使用 RSA/ECB/OAEPWITHSHA-256ANDMGF1PADDING 解密
- java - 在Jenkins中重新部署WAR时出错,如何解决?