Created
February 16, 2023 13:36
-
-
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
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 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