Skip to content

Instantly share code, notes, and snippets.

@mattantonelli
Created February 16, 2023 13:36
Show Gist options
  • Save mattantonelli/b68e6bdcb9e0d5eaff4e94455cb6112d to your computer and use it in GitHub Desktop.
Save mattantonelli/b68e6bdcb9e0d5eaff4e94455cb6112d to your computer and use it in GitHub Desktop.
Install Python 3.11 via pyenv on CentOS 7 with custom OpenSSL 1.1
sudo yum install gcc make zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl11-devel tk-devel libffi-devel xz-devel
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
CPPFLAGS=-I/usr/include/openssl11 LDFLAGS=-L/usr/lib64/openssl11 pyenv install 3.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment