Last active
April 16, 2024 18:13
-
-
Save jdesilvio/5b4fc264fff1d6ad9905003c1bcc80e8 to your computer and use it in GitHub Desktop.
pycurl openssl conflict
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
# Intel | |
export CFLAGS="-I$(brew --prefix openssl)/include" | |
export LDFLAGS="-L$(brew --prefix openssl)/lib" | |
export PYCURL_SSL_LIBRARY=openssl | |
pip uninstall pycurl | |
pip install pycurl==7.43.0.2 --global-option="--with-openssl" | |
# M1 | |
brew update && brew install openssl | |
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib" | |
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include" | |
pip uninstall pycurl | |
pip install --upgrade pip==22. # Must downgrade pip in order to use --install-option | |
pip install --compile --install-option="--with-openssl" pycurl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment