#92 wsgiref requirement can't be installed
Closed: Fixed 2 years ago by kparal. Opened 2 years ago by kparal.

$ pip install -r requirements.txt
...
Collecting wsgiref>=0.1.2
  Using cached https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip
    ERROR: Command errored out with exit status 1:
     command: /home/kparal/devel/venv/blockerbugs/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-48qgb68j/wsgiref/setup.py'"'"'; __file__='"'"'/tmp/pip-install-48qgb68j/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-48qgb68j/wsgiref/pip-egg-info
         cwd: /tmp/pip-install-48qgb68j/wsgiref/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-48qgb68j/wsgiref/setup.py", line 5, in <module>
        import ez_setup
      File "/tmp/pip-install-48qgb68j/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.

It seems wsgiref doesn't support Python3. But I can't find any usage of it in the project. Can it be perhaps removed?


Login to comment on this ticket.

Metadata
Related Pull Requests
  • #93 Closed 2 years ago