Hier sind die Befehle und Ausgaben in beiden Shells:
Code: Select all
PS H:\Coding\tradido\code> python -c "import sys;print(sys.executable)"
C:\Users\hamid\AppData\Local\pypoetry\Cache\virtualenvs\tradido-cdZ63RI2-py3.11\Scripts\python.exe
Code: Select all
hamid@DESKTOP-GJ4J9QV MINGW64 /h/Coding/tradido/code (feature/levels)
$ python -c "import sys;print(sys.executable)"
C:\Program Files\Python311\python.exe
Der Standardinterpreter ist korrekt, aber aus irgendeinem Grund kann Bash dies tun Ich finde das nicht und verwende das globale Python.