InstaPy / InstaPy/instapy-quickstart

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

Offen
#138 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
777
Forks
763
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.