Python Home
Jump to navigation
Jump to search
Install From Source
#!/usr/bin/env bash set -eo pipefail version='3.7.7' yum -y install gcc openssl-devel zlib-devel wget make wget https://www.python.org/ftp/python/$version/Python-$version.tgz tar xzf Python-$version.tgz cd Python-$version ./configure --prefix=/usr/local #./configure --prefix=/usr/local --enable-optimizations make altinstall
or the easier way
Getting Started
Prep python virtual environment.
sudo apt-get install python3-venv mkdir app cd app python3 -m venv venv source venv/bin/activate pip install --upgrade pip wheel