
Estou tentando atualizar o python para 3.7 em um servidor Debian buster. Se eu digitar python3 --version
ele retorna python 3.6.1
. Porém, se eu executar sudo apt install python3
ele retornará o seguinte:
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.
Da mesma forma, a execução sudo apt-get install python3.7
fornece a seguinte saída:
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.
Então, parece que o Python 3.7 está instalado, mas por que ele está retornando a versão em uso como 3.6.1?
Alguma idéia de como posso corrigir isso para usar o python 3.7?