pip3 install couchdbkit失败,使用“Command”python设置.py鸡蛋信息”

2024-06-13 12:45:26 发布

您现在位置:Python中文网/ 问答频道 /正文

我无法在ubuntu中安装couchdbkit。命令:pip3 install couchdbkit给出以下错误:

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/

如果有其他方法可以在ubuntu中安装couchdbkit,请指导我。在


Tags: pipinpy命令buildinfoeggubuntu
1条回答
网友
1楼 · 发布于 2024-06-13 12:45:26

这是因为python3不支持couchdbkit。file在版本3x中从python中删除。{a1}也表示为^

Couchdbkit requires Python 2.x superior to 2.6.

为什么pip3仍然尝试下载它是另一个问题。在

相关问题 更多 >