“Installieren Sie Python 3.9 Linux” Code-Antworten

Installieren Sie Python 3.9 Linux

# Want to do this first usually
sudo apt update

sudo apt install software-properties-common
# A repo for python3.9 that works
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.9
# Checking that it worked
python3.9 --version
# Now to add venv - ensurepip
sudo apt-get install python3.9-venv

sudo python3.9 -m venv <my_env_name>
Agrius

Fügen Sie Python 3.9 zu USR/Bin hinzu

CXX="/usr/bin/g++"              \
./configure --prefix=/usr       \
            --enable-shared     \
            --with-system-expat \
            --with-system-ffi   \
            --with-ensurepip=yes &&
make
Frantic Falcon

Ähnliche Antworten wie “Installieren Sie Python 3.9 Linux”

Fragen ähnlich wie “Installieren Sie Python 3.9 Linux”

Weitere verwandte Antworten zu “Installieren Sie Python 3.9 Linux” auf Python

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen