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
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
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
make[2]: *** [Makefile
make[2]: *** [Makefile
make[2]: *** [Makefile
make[2]: *** [Makefile
make[2]: *** [Makefile
make[2]: Leaving directory '/home/s265d007/cpython'
make[1]: *** [Makefile
make[1]: Leaving directory '/home/s265d007/cpython'
make: *** [Makefile
< /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.>