tensor2tensor
tensor2tensor copied to clipboard
Reporting syntax error when check which version is compatible with other requirements using pip
Description
pip install tensor2tensor==1.13.4 All packages were downloaded well. But it report errors because of syntax error of promise-0.2.2's byteplay.
INFO : pip is looking at multiple versions of promise to determine which version is compatible with other requirements. This could take a while.
Environment information
OS: Ubuntu Server 18.04.5 LTS python 3.7.0
For bugs: reproduction and error logs
ERROR: Command errored out with exit status 1:
command: /home/luojuan/.pyenv/versions/3.7.0/envs/uda/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3lt079gq/promise_edc84b4b1b914f5f9a25a1c8fc51eb2f/setup.py'"'"'; file='"'"'/tmp/pip-install-3lt079gq/promise_edc84b4b1b914f5f9a25a1c8fc51eb2f/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-pip-egg-info-rd664yo3
cwd: /tmp/pip-install-3lt079gq/promise_edc84b4b1b914f5f9a25a1c8fc51eb2f/
Complete output (10 lines):
Traceback (most recent call last):
File "
I tried to download promise-0.2.2.tar.gz and modified byteplay.py but it did'nt work. I tried to change tensor2tensor‘s version and it did work. But I don't know why.