2016-05-15 33 views
0

我已經安裝了cassandra 3.0.0並嘗試連接以連接cqlsh。當我嘗試從安裝的卡桑德拉目錄中打./bin/cqlsh我得到./bin/cqlsh說python沒有找到

找不到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 
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. 
>>> 

所以這意味着它已經被安裝python3類型。但是,是的,當我在終端上鍵入

蟒蛇,它說

python 
The program 'python' is currently not installed. You can install it by typing: 
apt-get install python-minimal 

甚至當我安裝python-最小它不工作。

請建議..

回答

1

創建符號鏈接/ usr/bin中/ Python的地指向在/ usr/bin中/ python2或/ usr/bin中/ python3

+0

感謝。有用。 –