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

Installing Python SDK from release packages fails because _version.py is not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 2.5.13
    • None
    • None
    • None
    • 1

    Description

      I believe _version.py is produced during the build, it gets the information from github tags. This file is not available in the release packages. When trying to run the install command:
      python setup.py install

      It fails with

      couchbase/_version.py does not exist
      

      One workaround is to create the _version.py file under the couchbase subfolder, example content:

       __version__ = '2.3.5'
      

      Or use pip instead,
      pip install couchbase==2.3.5

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            david.saadeh David Saadeh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty