1

I am unable to install couchdbkit in ubuntu. The command: pip3 install couchdbkit gives this following error:

Collecting couchdbkit
  Using cached couchdbkit-0.6.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-_302m_0e/couchdbkit/setup.py", line 25, in <module>
        long_description = file(
    NameError: name 'file' is not defined

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-_302m_0e/couchdbkit/

Please guide me if there any other way to install couchdbkit in ubuntu.

rollstuhlfahrer
  • 3,988
  • 9
  • 25
  • 38
Rajesh Samui
  • 167
  • 1
  • 2
  • 12

1 Answers1

1

That is because couchdbkit is not supported in python3. file was removed in versions 3x from python. This is also indicated here:

Couchdbkit requires Python 2.x superior to 2.6.

Why pip3 still tries to download it is another issue.

Community
  • 1
  • 1
FlyingTeller
  • 17,638
  • 3
  • 38
  • 53