InstaPy / InstaPy/instapy-quickstart

Building wheel for regex (setup.py) ... error ERROR: Command errored out with exit status 1:

Abierto
#138 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
777
Forks
763
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Building wheel for regex (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/emi/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-wheel-_3ko8vv9 --python-tag cp37
cwd: /private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/
Complete output (24 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/regex.py -> build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/_regex_core.py -> build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/test_regex.py -> build/lib.macosx-10.9-x86_64-3.7/regex
running build_ext
building 'regex._regex' extension
creating build/temp.macosx-10.9-x86_64-3.7
creating build/temp.macosx-10.9-x86_64-3.7/regex_3
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/emi/opt/anaconda3/include -arch x86_64 -I/Users/emi/opt/anaconda3/include -arch x86_64 -I/Users/emi/opt/anaconda3/include/python3.7m -c regex_3/_regex.c -o build/temp.macosx-10.9-x86_64-3.7/regex_3/_regex.o
In file included from /Users/emi/opt/anaconda3/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/syslimits.h:7:0,
from /Users/emi/opt/anaconda3/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/limits.h:34,
from /Users/emi/opt/anaconda3/include/python3.7m/Python.h:11,
from regex_3/_regex.c:48:
/Users/emi/opt/anaconda3/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
#include_next /* recurse down to the real one */
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for regex
Running setup.py clean for regex
Failed to build regex
Installing collected packages: regex, instapy
Running setup.py install for regex ... error
ERROR: Command errored out with exit status 1:
command: /Users/emi/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-record-ge5kvgzh/install-record.txt --single-version-externally-managed --compile
cwd: /private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/
Complete output (24 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/regex.py -> build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/_regex_core.py -> build/lib.macosx-10.9-x86_64-3.7/regex
copying regex_3/test_regex.py -> build/lib.macosx-10.9-x86_64-3.7/regex
running build_ext
building 'regex._regex' extension
creating build/temp.macosx-10.9-x86_64-3.7
creating build/temp.macosx-10.9-x86_64-3.7/regex_3
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/emi/opt/anaconda3/include -arch x86_64 -I/Users/emi/opt/anaconda3/include -arch x86_64 -I/Users/emi/opt/anaconda3/include/python3.7m -c regex_3/_regex.c -o build/temp.macosx-10.9-x86_64-3.7/regex_3/_regex.o
In file included from /Users/emi/opt/anaconda3/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/syslimits.h:7:0,
from /Users/emi/opt/anaconda3/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/limits.h:34,
from /Users/emi/opt/anaconda3/include/python3.7m/Python.h:11,
from regex_3/_regex.c:48:
/Users/emi/opt/anaconda3/lib/gcc/x86_64-apple-darwin11.4.2/4.8.5/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
#include_next /* recurse down to the real one */
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/emi/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-mapp1miq/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-record-ge5kvgzh/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the reported installation of instapy and inspect the setup.py path involved in building the regex dependency. Investigate the macOS Anaconda/gcc failure for the missing limits.h header. Done means the installation completes without the regex wheel or setup.py build error.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
build-system
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.