python ssl module is not available code example
Example: python ssl module is not available
#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"