Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-5652

couchbase-cli fails with json error "No module named json"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.8.1
    • 1.8.1
    • tools
    • Security Level: Public
    • None
    • 1.8.1 build 927

    Description

      [root@localhost ~]# /opt/couchbase/bin/couchbase-cli cluster-init -c 10.4.2.4:8091 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-ramsize=4000
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/couchbase-cli", line 12, in ?
      import node
      File "/opt/couchbase/lib/python/node.py", line 8, in ?
      import util_cli as util
      File "/opt/couchbase/lib/python/util_cli.py", line 4, in ?
      import json
      ImportError: No module named json

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            james.mauss James Mauss (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty