Skip to content

Instantly share code, notes, and snippets.

@luizomf
Last active May 14, 2024 18:17
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
@marcos654
Copy link

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

@bob-reis
Copy link

bob-reis commented Jul 28, 2023

Atualizando para a data atual - 28/07/2023

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.11-full python3.11-dev -y

@catalunha
Copy link

catalunha@pop-os:~/myapp/python_luiz_otavio/lecture/34540716$ python -m venv venv
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.10-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Então acrescente
sudo apt install python3.10-venv
na lista anterior

@pablowilliam
Copy link

pablowilliam commented May 14, 2024

Deve usar # python3 -m venv venv

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