InstaPy / InstaPy/instapy-quickstart

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

Ouverte
#138 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
777
Forks
763
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par reproduire l’installation signalée de instapy et examinez le chemin de setup.py impliqué dans la compilation de la dépendance regex. Étudiez l’erreur macOS Anaconda/gcc liée à l’absence de l’en-tête limits.h. C’est terminé lorsque l’installation s’achève sans erreur de build du wheel regex ni erreur de build de setup.py.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
build-system
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.