WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. linux code example

Example 1: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

brew update && brew upgrade
brew uninstall --ignore-dependencies openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

Example 2: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

brew update && brew upgrade
brew uninstall --ignore-dependencies openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
  
brew reinstall python