no OpenSSL_APPlink
japri opened this issue · 3 comments
japri commented
import requests
def fetch_https_url(url):
try:
response = requests.get(url)
response.raise_for_status() # Check whether the request was successful
print("URL fetched successfully!")
print("Response Content:")
print(response.text) # Printing the content of the page
except requests.exceptions.HTTPError as errh:
print(f"Http Error: {errh}")
except requests.exceptions.ConnectionError as errc:
print(f"Error Connecting: {errc}")
except requests.exceptions.Timeout as errt:
print(f"Timeout Error: {errt}")
except requests.exceptions.RequestException as err:
print(f"Oops: Something Else: {err}")
# Example usage:
fetch_https_url('https://www.example.com')
above codes will produce no OpenSSL_Uplink: no OpenSSL_APPlink, how to resolve?
pyscripter commented
"My code does not work" is not a valid issue submission. Please use the P4D support forum or in this case the python support forums.
Have you googled for "python no OpenSSL_APPlink"?
japri commented
i try to google it but it getting to technical without any working solutions, last i try to uninstall all python, miniconda, and fresh install python 3.11 and everything works.....
pyscripter commented
Good to know...