couchbase, not Couchbase :) Regards, Mark > On Aug 31, 2016, at 1:01 AM, Phuc Huu <dinhhuuphuc...@gmail.com> wrote: > > 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': > 'kingart...@couchbase.com', '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 couchbase+unsubscr...@googlegroups.com > <mailto:couchbase+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>.
-- 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 couchbase+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.