Server - Python 库 Gensim 安装

欢迎Follow我的GitHub:https://github.com/SpikeKing
本文地址:http://blog.csdn.net/caroline_wendy/article/details/77089569

Gensim is a FREE Python library

  • Scalable statistical semantics
  • Analyze plain-text documents for semantic structure
  • Retrieve semantically similar documents

Gensim是一个免费的Python库

  • 可扩展的、可统计的语义信息
  • 分析纯文本文档获取语义结构
  • 检索语义相似的文档

gensim

默认安装:pip install gensim

错误信息提示:setuptools版本过低,需要重新安装setuptools

The required version of setuptools (>=1.3.2) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U setuptools'.

服务器无法使用easy_install,使用pip更新安装setuptools,但是版本仍不满足,即0.9.8。

pip install setuptools --upgrade

原因是,在我司的源中setuptools版本较低,更换阿里云的源,重新安装。

pip install setuptools --upgrade -i http://mirrors.aliyun.com/pypi/simple

再次安装gensim,即可。

pip install gensim
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ElminsterAumar

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值