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

Python SDK 3.0.10 install fails with python version 3.8.2 on macos catalina



    • Bug
    • Resolution: Fixed
    • Critical
    • None
    • 3.0.10
    • None
    • 1


      I had Python version 3.8.2 on my macbook pro (catalina) - when I tried to install python SDK 3.0.10 it failed with error at wheel building step:

      In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:75:
        In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_va_list.h:31:
        /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
        #error architecture not supported
        fatal error: too many errors emitted, stopping now [-ferror-limit=]
        20 errors generated.
        /private/tmp/pip-install-uxp2exex/couchbase/cbuild_config.py:271: UserWarning: Adding /usr/local to lib search path for OS X
          warnings.warn('Adding /usr/local to lib search path for OS X')
        error: command 'clang' failed with exit status 1
        ERROR: Failed building wheel for couchbase

      Connected with David Kelly and we tried several things:
      1. Reinstall xcode
      2. Cleanup all libcouchbase installations
      3. Ran brew doctor and made sure there were no link issues
      4. directly execute "pip3 install couchbase" instead of "python3 -m pip3 install couchbase"
      5. forced install to not use cache with --no-cache-dir option supplied to pip3

      None of the above helped - but since it worked on Dkelly's local and he had python 3.9.2, we decided to upgrade python my local and try again - then it worked without any issues - filing this bug to see why it is not working with 3.8.2


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



            jared.casey Jared Casey
            arunkumar Arunkumar Senthilnathan (Inactive)
            0 Vote for this issue
            2 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes