the codes(ordered): 1. /Applications/Python\ 3.x/Install\ Certificates.command 2. pip install --upgrade certifi 3. import ssl import certifi ssl._create_default_https_context = ssl.create_default_context(cafile=certifi.where()) # Now use your library 4. brew update brew install python 5. brew install pyenv pyenv install 3.x.x # Replace with the desired Python version pyenv global 3.x.x 6. import requests response = requests.get('https://www.google.com') print(response.status_code) 2nd message codes: 1. pip uninstall certifi 2. brew uninstall python # For Homebrew pyenv uninstall <version> # For pyenv, replace <version> with the installed Python version 3rd message codes in notes and credits
3rd message codes(read instructions first): 1. /Applications/Python\ 3.x/Install\ Certificates.command 2. pip install --upgrade certifi 3. import ssl import certifi import scratchattach as scr3 # Set the default SSL context to use the certifi CA bundle ssl._create_default_https_context = ssl.create_default_context(cafile=certifi.where()) login = scr3.login("username", "password") cloud_connection = login.connect_cloud(669020072) 4. brew update brew install python 5. import requests response = requests.get('https://www.google.com') print(response.status_code) this is all the code