google-research / language

Shared repository for open-sourced projects from the Google AI Language team.
https://ai.google/research/teams/language/
Apache License 2.0
1.61k stars 346 forks source link

Installation failed #24

Open yashchoubey opened 4 years ago

yashchoubey commented 4 years ago

Command:

Version:

Logs:

Collecting wsgiref (from natural-questions) Downloading https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc/wsgiref-0.1.2.zip ERROR: Command errored out with exit status 1: command: /usr/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y1d6cb8r/wsgiref/setup.py'"'"'; file='"'"'/tmp/pip-install-y1d6cb8r/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 pip-egg-info cwd: /tmp/pip-install-y1d6cb8r/wsgiref/ Complete output (8 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-y1d6cb8r/wsgiref/setup.py", line 5, in import ez_setup File "/tmp/pip-install-y1d6cb8r/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.

xinyiz1019 commented 4 years ago

try --no-dependencies flag

ref: https://github.com/google-research/language/issues/5