error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /builds/cubicweb/cubes/datacat/.tox/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-x4vobM/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-x4vobM/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-mSat7e/install-record.txt --single-version-externally-managed --compile --install-headers /builds/cubicweb/cubes/datacat/.tox/py27/include/site/python2.7/psycopg2 Check the logs for full command output.
py27 installed: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.,atomicwrites==1.4.0,attrs==21.2.0,backports.functools-lru-cache==1.6.4,configparser==4.0.2,contextlib2==0.6.0.post1,funcsigs==1.0.2,importlib-metadata==2.1.1,mock==3.0.5,more-itertools==5.0.0,packaging==20.9,pathlib2==2.3.6,pkg-resources==0.0.0,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==4.6.11,scandir==1.10.0,six==1.16.0,wcwidth==0.2.5,zipp==1.2.0 ___________________________________ summary ____________________________________ ERROR: py27: InvocationError for command /builds/cubicweb/cubes/datacat/.tox/py27/bin/python -m pip install --exists-action w /builds/cubicweb/cubes/datacat/.tox/.tmp/package/1/cubicweb-datacat-0.15.0.zip (see /builds/cubicweb/cubes/datacat/.tox/py27/log/py27-2.log) (exited with code 1) Cleaning up file based variables ERROR: Job failed: command terminated with exit code 1