📜  python ssl 模块不可用 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:10.006000             🧑  作者: Mango

代码示例1
#Reinstall openssl by:
brew uninstall openssl
brew install openssl

#Do the following:

echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"