ImportError:无法导入名称sslhandling

2024-09-28 13:19:09 发布

您现在位置:Python中文网/ 问答频道 /正文

我在和卡桑德拉一起工作的时候得到了这个https://github.com/marionleborgne/cloudbrain/wiki/1.-Setup

~/Downloads/cloudbrain/cloudbrain/datastore$ cqlsh -f /home/user/Downloads/cloudbrain/cloudbrain/datastore/cassandra_schema.cql
Traceback (most recent call last):
  File "/usr/bin/cqlsh.py", line 157, in <module>
    from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling, copy
ImportError: cannot import name sslhandling

Tags: httpsimportgithubcomhomedownloadswikisetup
1条回答
网友
1楼 · 发布于 2024-09-28 13:19:09

当您使用installator安装了Cassandra而它没有安装所需的python库时,可能会发生这样的错误。下载焦油gz从cassandra.apache.org/download/归档,解压缩,转到其中的pylib文件夹,并在终端中运行命令

python setup.py install  user

在这之后,您可能需要重新启动系统。在

相关问题 更多 >

    热门问题