openssl mac 安装pycurl 异常解决


pip uninstall pycurl

 brew reinstall openssl

pip3 install --compile --install-option="--with-openssl" pycurl

export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/openssl@1.1/lib"
export CPPFLAGS="-I/opt/homebrew/opt/openssl@1.1/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@1.1/lib/pkgconfig"

相关