Certifique-se de atualizar seus repositórios e, em seguida, os arquivos do sistema. Em seguida, execute um reinstall of python3
.
(O $
representa o prompt de comando que você vê na tela do terminal. O comando é o que segue o prompt $
.):
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install python3-minimal
$ sudo apt install --reinstall python3
Em seguida, adicione alguns dos outros pacotes que você pode precisar do repositório. Você pode obter uma lista dos pacotes de repositórios padrão com:
$ apt-cache search "^python3" | less