SeanLee97 / xmnlp

xmnlp:提供中文分词, 词性标注, 命名体识别,情感分析,文本纠错,文本转拼音,文本摘要,偏旁部首,句子表征及文本相似度计算等功能

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

安装不成功报错是为啥啊

Gillian1998457 opened this issue · comments

报错如下
ERROR: Could not find a version that satisfies the requirement scikit-learn (from xmnlp) (from versions: none)
ERROR: No matching distribution found for scikit-learn

commented

你的 python 版本是多少呢?

可以尝试按照如下步骤操作

  1. 升级 pip
python -m pip install -U pip
  1. 安装 scikit-learn
python -m pip install -U scikit-learn

如果还是报之前的错误,可以试试

python -m pip install -U sklearn
  1. 安装 xmnlp
python -m pip install xmnlp