【发布时间】:2016-04-07 22:49:08
【问题描述】:
我正在使用 Python 2.7。
我一直在尝试使用easy_install -U gensim 安装 gensim 语料库
但出现以下错误:
Best match: gensim 0.12.3
Downloading https://pypi.python.org/packages/source/g/gensim/gensim-0.12.3.tar.gz#md5=9581467d50ec6da0097939464c422d00
Processing gensim-0.12.3.tar.gz
Writing /tmp/easy_install-gov1DV/gensim-0.12.3/setup.cfg
Running gensim-0.12.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-gov1DV/gensim-0.12.3/egg-dist-tmp-OwbpdK
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'.
(Currently using setuptools 1.1.6 (/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python))
error: Setup script exited with 2
我检查了 setuptools 版本,我发现它是 19.2。
【问题讨论】:
-
easy_install 已弃用,请尝试:pip install gensim
标签: python macos python-2.7 osx-elcapitan