Open LWFlouisa opened 4 years ago
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jc5jnc2q/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jc5jnc2q/cytoolz/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-cwegxn2c/install-record.txt --single-version-externally-managed --compile
cwd: /tmp/pip-install-jc5jnc2q/cytoolz/
Complete output (57 lines):
ALERT: Cython not installed. Building without Cython.
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/_version.py -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/_signatures.py -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/__init__.py -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/compatibility.py -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/utils_test.py -> build/lib.linux-x86_64-3.6/cytoolz
creating build/lib.linux-x86_64-3.6/cytoolz/curried
copying cytoolz/curried/__init__.py -> build/lib.linux-x86_64-3.6/cytoolz/curried
copying cytoolz/curried/exceptions.py -> build/lib.linux-x86_64-3.6/cytoolz/curried
copying cytoolz/curried/operator.py -> build/lib.linux-x86_64-3.6/cytoolz/curried
copying cytoolz/recipes.pyx -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/utils.pyx -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/itertoolz.pyx -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/functoolz.pyx -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/dicttoolz.pyx -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/functoolz.pxd -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/utils.pxd -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/recipes.pxd -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/dicttoolz.pxd -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/cpython.pxd -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/__init__.pxd -> build/lib.linux-x86_64-3.6/cytoolz
copying cytoolz/itertoolz.pxd -> build/lib.linux-x86_64-3.6/cytoolz
creating build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_functoolz.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_recipes.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_signatures.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_doctests.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_compatibility.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_itertoolz.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_utils.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_tlz.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_none_safe.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_docstrings.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_curried.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/dev_skip_test.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_serialization.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_dev_skip_test.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_dicttoolz.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_inspect_args.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
copying cytoolz/tests/test_embedded_sigs.py -> build/lib.linux-x86_64-3.6/cytoolz/tests
running build_ext
building 'cytoolz.dicttoolz' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/cytoolz
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c cytoolz/dicttoolz.c -o build/temp.linux-x86_64-3.6/cytoolz/dicttoolz.o
cytoolz/dicttoolz.c:17:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jc5jnc2q/cytoolz/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jc5jnc2q/cytoolz/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-cwegxn2c/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
Error persists even when I used Python2.7.
Trying this approach as I can't produce the docker image.
Update: Did another test, and the issue seems to be with the pip command: pip3 install snet-cli