Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1116

Installing the latest python 3 sdk(3.1) gives error that libcouchbase files are missing.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.1.1
    • 3.1.0
    • library
    • None
    • 1

    Description

      1. Install python 3.6 (or any python 3.5+)
      2. Install all dependencies required to install couchbase python sdk
      3. Install python 3 couchbase sdk
      4. Run any simple sample application

      The sample application should run without any issues. But we see the following error when running the application.

      Traceback (most recent call last):
        File "dummy_loader.py", line 3, in <module>
          from couchbase.cluster import Cluster, ClusterOptions, PasswordAuthenticator
      ModuleNotFoundError: No module named 'couchbase'
      root@ubuntu-1404:~/dummy-greenboard-data-generator# python3 dummy_loader.py
      Traceback (most recent call last):
        File "dummy_loader.py", line 3, in <module>
          from couchbase.cluster import Cluster, ClusterOptions, PasswordAuthenticator
        File "/usr/local/lib/python3.5/dist-packages/couchbase/__init__.py", line 1, in <module>
          import couchbase_core._bootstrap
        File "/usr/local/lib/python3.5/dist-packages/couchbase_core/__init__.py", line 45, in <module>
          import couchbase_core._libcouchbase as _LCB
      ImportError: libcouchbase.so.7: cannot open shared object file: No such file or directory
      

      This issue is not seen if I uninstall couchbase package and install an older version (3.0.10).

      Attachments

        For Gerrit Dashboard: PYCBC-1116
        # Subject Branch Project Status CR V

        Activity

          People

            jared.casey Jared Casey
            bharath.gp Bharath G P
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty