Last active
May 30, 2024 16:38
-
-
Save luizomf/8623264cbf69cd2619bcdee258628f41 to your computer and use it in GitHub Desktop.
Instalação Python 3.10 Ubuntu 22.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
Deve usar # python3 -m venv venv
O que usei para corrigir alguns erros dentro do Ubuntu.
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
sudo apt install python3-venv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Atualizando para a data atual - 28/07/2023