Mar*_*kus 1 python keyword extraction
当我尝试安装RAKE - 快速自动关键字提取时,我在使用Python 2.7的Windows 8和Ubuntu 14.04上收到以下错误:
error: Namespace package problem: rake is a namespace package, but its
`__init__.py` does not call declare_namespace()! Please fix it.
(See the setuptools manual under "Namespace Packages" for details.)
Run Code Online (Sandbox Code Playgroud)
我已经尝试过安装使用pip以及手动安装python install setup.py.
这个错误意味着什么,我该如何解决?
尝试安装rake时出现上述错误pip install rake.搜索正确的包名称pip search rake给出了包含的列表python-rake.运行该行pip install python-rake修复了错误/正确安装的rake.
请注意,rake的导入使用全部大写(即,import RAKE),如项目的repo中所示.