Code: Select all
pyenv install 3.13.0 -f
Downloading Python-3.13.0.tar.xz...
\-\> https://www.python.org/ftp/python/3.13.0/Python-3.13.0.tar.xz
Installing Python-3.13.0...
BUILD FAILED (MINGW64_NT-10.0-19045 3.4.10-87d57229.x86_64 using python-build 20180424)
Inspect or clean up the working tree at /tmp/python-build.20250105182021.11329
Results logged to /tmp/python-build.20250105182021.11329.log
Last 10 log lines:
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking for --with-app-store-compliance... not patching for app store compliance
checking for gcc... no
checking for cc... no
checking for cl.exe... no
checking for clang... no
configure: error: in `/tmp/python-build.20250105182021.11329/Python-3.13.0': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details
Code: Select all
python -V
Python 3.8.2
Ich verwende Windows und verwende bash [MINGW64] . Kann mir hier jemand helfen?
Ich versuche, meinen FastAPI-Code auszuführen, aber das schlägt fehl:
ImportError : Der Name „Annotated“ kann nicht aus „typing“ importiert werden (c:\python38\lib\typing.py
Ich muss diese Version aktualisieren, um die auszuführen Code.