ModulenotFoundError: 'Codierungen' beim Bau von Python3.14 von Grund auf neuPython

Python-Programme
Anonymous
 ModulenotFoundError: 'Codierungen' beim Bau von Python3.14 von Grund auf neu

Post by Anonymous »

Ich habe wiederholt einen Fehler, wenn ich versuche, Python aus dem Hauptzweig des offiziellen Repositorys zu erstellen. Ubuntu 22.04.5 LTS < /p>
Jetzt klonierte ich den Hauptzweig, habe einen neuen Zweig ausprobiert und versucht, Python mit den folgenden Befehlen von Grund auf zu bauen. < /P>

./configure CC=clang --prefix=$HOME/python3.14_1 --enable-optimizations --with-lto --enable-experimental-jit

make -j$(nproc)

< /code>
Bei diesem Befehl erhalte ich den folgenden Fehler: < /p>
.
.
.
Current thread 0x000077860849b740 [_bootstrap_pyth] (most recent call first):

Fatal Python error: make[2]: *** [Makefile:1943: Python/frozen_modules/io.h] Error 1
make[2]: *** Waiting for unfinished jobs....
Failed to import encodings module
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007d427a677740 [_bootstrap_pyth] (most recent call first):

make[2]: *** [Makefile:1952: Python/frozen_modules/genericpath.h] Error 1
Fatal Python error: Failed to import encodings module
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x000075b2c53fc740 [_bootstrap_pyth] (most recent call first):

make[2]: *** [Makefile:1940: Python/frozen_modules/codecs.h] Error 1
make[2]: *** [Makefile:1946: Python/frozen_modules/_collections_abc.h] Error 1
make[2]: *** [Makefile:1937: Python/frozen_modules/abc.h] Error 1
make[2]: *** [Makefile:1949: Python/frozen_modules/_sitebuiltins.h] Error 1
make[2]: *** [Makefile:1958: Python/frozen_modules/posixpath.h] Error 1
make[2]: *** [Makefile:1955: Python/frozen_modules/ntpath.h] Error 1
make[2]: Leaving directory '/home/s265d007/cpython'
make[1]: *** [Makefile:1003: profile-gen-stamp] Error 2
make[1]: Leaving directory '/home/s265d007/cpython'
make: *** [Makefile:1015: profile-run-stamp] Error 2
< /code>
Der gesamte Link des Fehlers: Warp < /p>
Ich habe versucht, den folgenden Befehl zu überprüfen und einen Fehler beim Laufzeitzustand zu erhalten: < /p>
./_bootstrap_python -S -c "import encodings; print(encodings.__file__)" \
PYTHONPATH=./Lib
Fatal Python error: Run filename expected
Python runtime state: preinitialized
< /code>
Ich habe den 3.14 -Zweig aus dem Repository ausprobiert, aber selbst das erzeugt den gleichen Fehler. Ist es ein Problem mit einer Konfiguration, die ich ändern muss, oder ein bekanntes Problem? Ich sehe jedoch nicht viel über dieses Problem online.
Lassen Sie mich wissen, ob Sie zusätzliche Informationen benötigen, um dieses Problem zu debuggen.>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post