Couchbase SDK for Python 3.6 on Ubuntu 18.4

I am trying to restore my Python environment on a recently udgraded Ubuntu 18.4 desktop by following these instructions:

# Only needed during first-time setup:
sudo dpkg -i couchbase-release-1.0-4-amd64.deb
sudo apt-get update
sudo apt-get install libcouchbase-dev build-essential python-dev python-pip
sudo pip install couchbase

second command fails:
sudo dpkg -i couchbase-release-1.0-4-amd64.deb
(Reading database … 193858 files and directories currently installed.)
Preparing to unpack couchbase-release-1.0-4-amd64.deb …
Supported platforms are: Debian/wheezy,jessie and Ubuntu/lucid,precise,trusty,xenial

dpkg: error processing archive couchbase-release-1.0-4-amd64.deb (–install):
new couchbase-release package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:

I guess we don’t support Ubuntu 18.4 yet? My Couchbase server is still on an older Ubuntu version, this is just to interface Python on my desktop to it.
What are the alternative approaches, or can this be fixed, soon?

Hi @tknorr,

You might want to keep an eye on MB-29342 and DOC-3890.

You may also want to create your own bug in the PYCBC project at

EDIT: I forgot to mention that since this might be Python related, you may want to consider using the Couchbase Python SDK Forum in the future. I’m tagging @ellis.breen as he also might be able to comment.

Yes, you can simply checkout libcouchbase and build it following the instructions on

The imminent PYCBC 3 Alpha automatically pulls in and builds LCB automatically, not sure if we will backport this however.