Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10115

Centos/ RHEL 8 Python SDK Quick Install steps does not work for SDK 4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • sdk3.3-backlog
    • None
    • sdk
    • None
    • DOC-2022-S12, DOC-2022-S13, DOC-2022-S14, DOC-2022-S15
    • 1

    Description

      Problem

      Following the quick install steps in the documentation leavings me with Couchbase Python SDK 3.2.7 and not with 4.X

      [vagrant@node1-cb700-centos8 ~]$ sudo python3 -m pip install couchbase
      WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
      Collecting couchbase
        Using cached https://files.pythonhosted.org/packages/e3/b1/b77badb03e77a9ee9e20c6b9a4374e892aaaffa80600e3287f9567d7fde8/couchbase-3.2.7.tar.gz
      Requirement already satisfied: mypy_extensions>=0.4.3,~=0.4 in /usr/local/lib/python3.6/site-packages (from couchbase)
      Requirement already satisfied: pyrsistent>=0.15.2,~=0.15 in /usr/local/lib64/python3.6/site-packages (from couchbase)
      Requirement already satisfied: six~=1.15 in /usr/local/lib/python3.6/site-packages (from couchbase)
      Requirement already satisfied: wrapt>=1.11.2,~=1.11 in /usr/local/lib64/python3.6/site-packages (from couchbase)
      Requirement already satisfied: durationpy~=0.5 in /usr/local/lib/python3.6/site-packages (from couchbase)
      Requirement already satisfied: typing-extensions==3.7.4.3 in /usr/local/lib/python3.6/site-packages (from couchbase)
      Requirement already satisfied: attrs~=19.1 in /usr/local/lib/python3.6/site-packages (from couchbase)
      Installing collected packages: couchbase
        Running setup.py install for couchbase ... |^[[A^[[done
      Successfully installed couchbase-3.2.7
      

      The issue is that Python on Centos 8 is 3.6 and the SDK requires 3.7 or greater.

      Expectations
      For the quick install steps for Cenot/RHEL to install the latest version of the SDK.

      Attachments

        Issue Links

          Activity

            People

              richard.smedley Richard Smedley
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty