Details
Description
Per my discussion with Bin adding information
[root@cento-0409 python]# python
Python 2.6.5 (r265:79063, Feb 28 2011, 21:55:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import snappy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "snappy.py", line 50, in <module>
from snappy_cffi import UncompressError, compress, decompress, \
File "snappy_cffi.py", line 3, in <module>
from cffi import FFI
ImportError: No module named cffi
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
[root@cento-0409 python]# pwd
/opt/couchbase/lib/python
[root@cento-0409 python]# cd
[root@cento-0409 ~]# /opt/couchbase/bin/cbbackup http://localhost stdout:
WARNING:root:could not import snappy module. Compress/uncompress function will be skipped.
WARNING:root:could not import snappy module. Compress/uncompress function will be skipped.
WARNING:root:could not import snappy module. Compress/uncompress function will be skipped.
error: unable to access REST API: localhost:8091/pools/default/buckets; please check source URL, server status, username (-u) and password (-p)
[root@cento-0409 ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 5.8 (Final)
Release: 5.8
Codename: Final
[root@cento-0409 ~]# python
Python 2.6.5 (r265:79063, Feb 28 2011, 21:55:45)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cffi
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cffi
>>> from cffi import FFI
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cffi
>>>