我尝试在 ubuntu 16.04 机器上安装 python functools 并收到此错误
Collecting functools32
Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
Complete output from command python setup.py egg_info:
This backport is for Python 2.7 only.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-a7fm4qrj/functools32/
Run Code Online (Sandbox Code Playgroud)
我还尝试从github 链接安装。结果还是失败了。出现以下错误。
Collecting git+https://github.com/michilu/python-functools32.git
Cloning https://github.com/michilu/python-functools32.git to /tmp/pip-req-build-gyj6sclc
Complete output from command python setup.py egg_info:
This backport is for Python 2.7 only.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-gyj6sclc/
Run Code Online (Sandbox Code Playgroud)
我如何克服这个问题并安装 functools?
提前致谢