【发布时间】:2016-09-11 16:44:51
【问题描述】:
我已安装 cassandra 3.0.0 并尝试连接以连接 cqlsh。当我尝试从已安装的 cassandra 的目录中点击 ./bin/cqlsh 时,我得到了
没有找到python。我正在使用 ubunut14.04LTS
当我在终端中输入 python2 时,它会显示
python2
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
当我在终端中输入 python3 时,它会显示
python3
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
所以这意味着它已经安装了。但是当我输入时是的
python 在终端它说
python
The program 'python' is currently not installed. You can install it by typing:
apt-get install python-minimal
即使我安装了 python-minimal,它也不起作用。
请建议..
【问题讨论】: