Last active
July 29, 2024 10:38
-
-
Save return1/f4fb59b3d507a5d27dcde8d38232169b to your computer and use it in GitHub Desktop.
Install Python2.7 with pyenv and homebrew on OSX 14.5
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
# install openssl 1.1 next to current openssl@3 | |
brew install [email protected] | |
# install python 2.7 with openssl 1.1 | |
LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" pyenv install 2.7.18 | |
# install package which needs openssl libs | |
LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" pip install -r requirements.txt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment