python设置.pyegg_info失败,错误为1

2024-06-25 23:13:34 发布

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

我尝试使用pip安装python模块“tagg”。但我得到了下面的错误。在

Collecting tagg
  Using cached tagg-0.1.2.tar.gz
Collecting Pygments==2.0.2 (from tagg)
  Using cached Pygments-2.0.2-py3-none-any.whl
Collecting argparse==1.2.1 (from tagg)
  Using cached argparse-1.2.1.tar.gz
Collecting prompt-toolkit==0.31 (from tagg)
  Using cached prompt_toolkit-0.31.tar.gz
Collecting six==1.9.0 (from tagg)
  Using cached six-1.9.0-py2.py3-none-any.whl
Collecting wcwidth==0.1.4 (from tagg)
  Using cached wcwidth-0.1.4-py2.py3-none-any.whl
Collecting wsgiref==0.1.2 (from tagg)
  Using cached wsgiref-0.1.2.zip
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-nnpqo0do/wsgiref/setup.py", line 5, in <module>
        import ez_setup
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "/tmp/pip-build-nnpqo0do/wsgiref/setup.py", line 5, in <module>

        import ez_setup

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

我已经试过了here提到的解决方案。但它不起作用。在

任何帮助都将不胜感激。在

提前谢谢


Tags: pipinfrompysetuplinetarfile