La excepción es la siguiente:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ME1CPH/pandas/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ME1CPH/pandas/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-ME1CPH/pandas/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-ME1CPH/pandas/setup.py", line 21, in <module>
import versioneer
File "versioneer.py", line 1629
print("Adding sample versioneer config to setup.cfg", file=sys.stderr)
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Use pip install pandas para instalar la última versión de pandas de forma predeterminada, porque pandas versión 0.24.0 y versiones posteriores ya no son compatibles con python2.7, así que especifique pandas 0.23.0 y versiones anteriores. P.ej:
pip install pandas == 0.23.0 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com