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

Couchbase Installation Fails on Ubuntu 20.04 with error: Python3 not Found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.2
    • 4.0.0, 4.0.1
    • None
    • None
    • 1
    • SDK26: KV,ES8, Known Issues

    Description

      Hi,

      We have a development environment where the users could try out the getting started guides on Developer Portal using gitpod

      I was trying to test the SDK 4.0 changes on the gitpod environment and ran into an issue while installing Couchbase SDK 4.0.x. The installation process complains about not finding python3. The interesting part is that the CMake arguments seem to detect the python version (-DPYTHON_EXECUTABLE=/usr/bin/python3).

      The SDK versions prior to 4 work. All the dependencies seem to be installed as well.
      Environment info:

      gitpod@couchbaseex-pythonquick-kbfrw2je034:/workspace/python-quickstart/src$ lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 20.04.4 LTS
      Release: 20.04
      Codename: focal
       
      gitpod@couchbaseex-pythonquick-kbfrw2je034:/workspace/python-quickstart/src$ which python3
      /usr/bin/python3
       
      gitpod@couchbaseex-pythonquick-kbfrw2je034:/workspace/python-quickstart/src$ sudo apt-get install git python3-dev python3-pip python3-setuptools cmake build-essential libssl-dev
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      cmake is already the newest version (3.16.3-1ubuntu1).
      python3-dev is already the newest version (3.8.2-0ubuntu2).
      python3-setuptools is already the newest version (45.2.0-1).
      build-essential is already the newest version (12.8ubuntu1.1).
      git is already the newest version (1:2.25.1-1ubuntu3.4).
      libssl-dev is already the newest version (1.1.1f-1ubuntu2.13).
      python3-pip is already the newest version (20.0.2-5ubuntu1.6).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

       
      Installation logs are attached here
       
      If you want to test the platform, you can try this link that contains all the environment setup
      https://gitpod.io/#https://github.com/couchbase-examples/python-quickstart/pull/21
       

      Attachments

        1. gitpod_39_build41.txt
          1.02 MB
        2. gitpod_build_41.txt
          1.02 MB
        3. gitpod_build327.txt
          2.37 MB
        4. gitpod_build40.txt
          1.02 MB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jared.casey Jared Casey
              nithish.raghunandanan Nithish Raghunandanan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty