when i execute command 'cbrestore', I got error as " requires python version 2.6 or greater",
but in my centos, my python version is 2.7 ( as below diagram).
how can I fix the problem? thanks a lot!
For additional, I find a code frag in cript 'cbrestore'.
it seems that if import sqlite3 failed, it will print that message.
but in my centos, sqlite3 is ok for import.
how the problem is ?
anyone who can show some comnets? thanks
[root@localhost ~]# python
Python 2.4.3 (#1, Jan 9 2013, 06:47:03)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named sqlite3
it seems that i can't import sqlite3 in python...
is it the root cause?
mkdir -p ~/bin && ln -s /usr/bin/python26 ~/bin/python && export PATH=~/bin:$PATH
Could you please try the above command and then let me know if it solves your issue.
© 2013 COUCHBASE All rights reserved.