Elassandra在安装时遇到麻烦

时间:2017-01-06 14:09:39

标签: python elasticsearch cassandra elassandra

我使用Tar方法安装Elassandra。

输入命令后输入

python pylib/setup.py install 我收到以下错误,不知道如何解决它:

aims@aims:~/elassandra$ sudo python pylib/setup.py install
[sudo] password for aims: 
Traceback (most recent call last):
  File "pylib/setup.py", line 33, in <module>
    ext_modules=get_extensions(),
  File "pylib/setup.py", line 27, in get_extensions
    return cythonize("cqlshlib/copyutil.py")
  File "/usr/local/lib/python2.7/dist-packages/Cython-0.25.2-py2.7-linux-x86_64.egg/Cython/Build/Dependencies.py", line 818, in cythonize
    aliases=aliases)
  File "/usr/local/lib/python2.7/dist-packages/Cython-0.25.2-py2.7-linux-x86_64.egg/Cython/Build/Dependencies.py", line 704, in create_extension_list
    for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
  File "/usr/local/lib/python2.7/dist-packages/Cython-0.25.2-py2.7-linux-x86_64.egg/Cython/Build/Dependencies.py", line 108, in nonempty
    raise ValueError(error_msg)
ValueError: 'cqlshlib/copyutil.py' doesn't match any files

请帮助我如何解决这个问题。

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题,你需要进入pylib目录

改为cd pylib && python setup.py install