Skip to content

wsgiref not work in the latest version of python #2

@jxcn

Description

@jxcn

https://pypi.org/project/wsgiref/
That provides validation support for WSGI 1.0.1 (PEP 3333) for Python versions < 3.2

Collecting wsgiref
  Downloading wsgiref-0.1.2.zip (37 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xeddqy0f/wsgiref/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xeddqy0f/wsgiref/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-xeddqy0f/wsgiref/pip-egg-info
         cwd: /tmp/pip-install-xeddqy0f/wsgiref/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-xeddqy0f/wsgiref/setup.py", line 5, in <module>
        import ez_setup
      File "/tmp/pip-install-xeddqy0f/wsgiref/ez_setup/__init__.py", line 170
        print "Setuptools version",version,"or greater has been installed."
              ^
    SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions