Connecting to Couchbase¶
Anaconda Enterprise enables you to connect to a Couchbase NoSQL database from within your notebook sessions.
To do so, you’ll need to do the following to install the essential elements required to connect to a Couchbase server:
Download the release RPM from Couchbase to set up the Couchbase repository:
Install the RPM using yum:
Install the packages required to install the pip package:
Install the pip package:
NOTE: Any packages you install from the command line are available during the current session only. If you want them to persist, add them to the project’s anaconda-project.yml
file. For more information, see Developing a project.
You can then use code such as this to import the modules and connect to Couchbase from within a notebook session: