Neuste Version installiert, aber nicht verwendet

Neuste Version installiert, aber nicht verwendet

Ich habe versucht, Python auf einem Debian-Buster-Server auf 3.7 zu aktualisieren. Wenn ich eingebe, python3 --versionwird zurückgegeben python 3.6.1. Wenn ich jedoch ausführe, sudo apt install python3wird Folgendes zurückgegeben:

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Ebenso führt die Ausführung sudo apt-get install python3.7zu folgender Ausgabe:

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.7 is already the newest version (3.7.3-2).
python3.7 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Es scheint also, dass Python 3.7 installiert ist, aber warum wird als verwendete Version 3.6.1 zurückgegeben?

Irgendwelche Ideen, wie ich das beheben kann, um Python 3.7 zu verwenden?

verwandte Informationen