如何在Windows 8.1上安装gensim [英] how to install gensim on windows 8.1

查看:90
本文介绍了如何在Windows 8.1上安装gensim的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚熟悉gensim,并尝试安装它.我执行的任何步骤均写在页面 https://radimrehurek.com/gensim/install.html 中但我无法安装它.我已经在Windows 8.1 64bit上成功安装了python 2.7,scipy,numpy,但是当我在gensim中运行setup.py时,它无法运行.

I just got acquainted with gensim and I tried to install it. I performed any steps is written in page https://radimrehurek.com/gensim/install.html but I could not install it. I have installed python 2.7, scipy, numpy successfully on windows 8.1 64bit, but when I run setup.py in gensim it doesn't run.

请帮助我,我需要立即进行gensim并告诉我安装步骤,以及更多详细信息和其他需要先安装的软件. 谢谢

Please help me I need to gensim Immediately and tell me installation steps with More details and other software that needs to be installed before it. thanks

推荐答案

Gensim取决于scipy和numpy.在安装gensim之前必须先安装它们.在Windows中安装gensim的简单方法是: 打开cmd并输入

Gensim depends on scipy and numpy.You must have them installed prior to installing gensim.Simple way to install gensim in windows is, open cmd and type

pip install -U gensim

pip install -U gensim

或从Windows下载gensim

Or download gensim for windows from

https://pypi.python.org/pypi/gensim
然后运行
python setup.py测试
python setup.py install

https://pypi.python.org/pypi/gensim
then run
python setup.py test
python setup.py install

这篇关于如何在Windows 8.1上安装gensim的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆