我已经安装了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它也不起作用。
请建议..
答案 0 :(得分:1)
创建指向/ usr / bin / python2或/ usr / bin / python3
的符号链接/ usr / bin / python