installation of 3.10 and 3.11 failed on LINUX in the script "compileall.py"
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- Calme
- Stack technique
- python
- Domaine
- build-system
Piste de recherche
Commencez par lib/python3.11/compileall.py et le bloc du build-script qui l’invoque avec -j0 pendant l’installation Linux. Reproduisez le build 3.10 ou 3.11 signalé et cherchez pourquoi les six sous-processus ne se terminent pas. C’est terminé lorsque l’installation s’achève sans commenter le bloc et que l’interpréteur obtenu peut importer readline sans l’erreur de démarrage signalée concernant une bibliothèque manquante.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I often installed python but now (for some unknown reason) it failed on LINUX. The problem is the lib/python3.11/compileall.py with 6 sub-fork never end. I stop after 1h30 execution time, I try 3.10 and 3.11.
comment out the block
# -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
# $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
# -j0 -d $(LIBDEST) -f \
# -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
# $(DESTDIR)$(LIBDEST)
# -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
# $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
# -j0 -d $(LIBDEST) -f \
# -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
# $(DESTDIR)$(LIBDEST)
# -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
# $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
# -j0 -d $(LIBDEST) -f \
# -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
# $(DESTDIR)$(LIBDEST)
# -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
# $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
# -j0 -d $(LIBDEST)/site-packages -f \
# -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
# -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
# $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
# -j0 -d $(LIBDEST)/site-packages -f \
# -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
# -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
# $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
# -j0 -d $(LIBDEST)/site-packages -f \
# -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
helps to install, but the python seems to be broken with startup error on missing parts like.
exec: [1] ;.../bin/python3.11
Could not find platform dependent libraries <exec_prefix>
Python 3.11.1 (main, Jan 25 2023, 23:48:02) [GCC 11.3.1 20221024 [revision bd0c76a2329e7fe6d6612c2259647bbb67f5866a]] on linux
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/etc/pythonstart", line 7, in <module>
import readline
ModuleNotFoundError: No module named 'readline'
>>>
- Langage dominant
- Python
- Étoiles
- 77.2k
- Forks
- 36k
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 558
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de python/cpython
-
docs pending
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
stdlib type-feature
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
stdlib type-feature
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
build type-bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
stdlib topic-email type-feature
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Toutes les issues de python/cpython
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
zostera/django-bootstrap4#894 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
use-agent-os/agent-os#3276 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
zilliztech/memsearch#759 ·