Skip to content

Instantly share code, notes, and snippets.

@beattidp
Created May 2, 2022 21:04
Show Gist options
  • Save beattidp/07782d631197946e00fc39ed1415298e to your computer and use it in GitHub Desktop.
Save beattidp/07782d631197946e00fc39ed1415298e to your computer and use it in GitHub Desktop.
Install Python 3.8 into virtenv on CentOS/RHEL
sudo `which pip` install virtualenv
sudo yum install python38
virtualenv -p python3.8 venv38
echo "alias exit='unalias exit ; deactivate'" >> venv38/bin/activate
. venv38/bin/activate
pip3 install --upgrade pip wheel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment