【问题标题】:CommandError: You appear not to have the 'cqlsh' program installed or on your pathCommandError:您似乎没有安装“cqlsh”程序或在您的路径上
【发布时间】:2017-03-15 19:54:06
【问题描述】:

在带有 Cassandra 的 Django 中,同时运行 #python manage.py dbshel​​l

Casssandra 正在运行,我们可以运行 #python manage.py sycn_cassandra 并在数据库中创建表。但是 dbshel​​l 失败并出现以下错误。在dos提示符下运行相同的命令

" CommandError:您似乎没有安装“cqlsh”程序或您的 路径。”

【问题讨论】:

    标签: django django-admin


    【解决方案1】:

    我也遇到了同样的问题。在 bin 中创建符号链接

    sudo ln -s /opt/apache-cassandra-3.9/bin/cqlsh /usr/bin/cqlsh

    它现在工作正常。

    【讨论】:

      猜你喜欢
      • 2018-04-17
      • 2016-09-14
      • 2018-08-03
      • 1970-01-01
      • 2018-09-12
      • 1970-01-01
      • 1970-01-01
      • 2020-04-10
      • 2019-01-11
      相关资源
      最近更新 更多