0

我已经使用 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

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

4

1 回答 1

0

我有同样的问题,你需要在pylib目录中

改为这样做cd pylib && python setup.py install

于 2017-04-14T10:53:21.373 回答