I already imported Python SDK without error from pip:
pip install couchbase
Requirement already satisfied (use --upgrade to upgrade): couchbase in
c:\python27\lib\site-packages
You are using pip version 7.1.2, however version 8.1.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip'
command.
But when I run it from code. It show error: "ImportError: cannot import
name Couchbase"
from couchbase.bucket import Bucket
cb = Bucket('couchbase://10.xx.xx.xx/test')
cb.upsert('u:king_arthur', {'name': 'Arthur', 'email':
'[email protected]', 'interests': ['Holy Grail', 'African
Swallows']})
cb.get('u:king_arthur').value
Could you help me to resolve it.
Thank so much.
--
You received this message because you are subscribed to the Google Groups
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.