Skip to content

Instantly share code, notes, and snippets.

@luizomf
Last active February 7, 2025 16:56
Show Gist options
  • Save luizomf/8623264cbf69cd2619bcdee258628f41 to your computer and use it in GitHub Desktop.
Save luizomf/8623264cbf69cd2619bcdee258628f41 to your computer and use it in GitHub Desktop.
Instalação Python 3.10 Ubuntu 22.04
sudo apt update -y
sudo apt upgrade -y
sudo apt install git curl build-essential -y
sudo apt install gcc make default-libmysqlclient-dev libssl-dev -y
sudo apt install python3.10-full python3.10-dev -y
@LuizCampedelli
Copy link

No WSL sim, no seu PC, se for em ambiente windwos, sem WSL(Linux), use o instalador.

Lembre-se de fazer a parte do build.

Copy link

ghost commented Nov 21, 2024

Não tinha dado certo, professor, mas depois dei um jeitinho e já consigo até ver a versão de Python que estou usando! Vou rever o vídeo sobre como fazer o build, ainda estou bem perdida! Obrigada pela atenção!

@Bellumors
Copy link

Bellumors commented Jan 13, 2025

Não tinha dado certo, professor, mas depois dei um jeitinho e já consigo até ver a versão de Python que estou usando! Vou rever o vídeo sobre como fazer o build, ainda estou bem perdida! Obrigada pela atenção!

Bia, nao te aconselho a atualizar o python no Linux...
vários utilitários do sistema utilizam o python no linux, se atualizar, alguns irão deixar de funcionar.
Aconselho deixar a versão que veio em seu linux.

Se quiser atualizar, use o pyenv (Instale o pyenv usando o tutorial do professor)

#pyenv update
#pyenv install -l
#pyenv install 3.13.1
#pyenv global 3.13.1

desta maneira vc não vai atrapalhar a versão que veio com o sistema, e conseguirá usar a versão 3.13.1 no VS.CODE

Espero ter ajudado!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment