-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SystemExit #358
Comments
The user agent was changed on the Joeclinton1 fork, it can maybe solve your issue like it is just before the exit. headers = {}
headers[
'User-Agent'] = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36"
if cur_version >= version: # If the Current Version of Python is 3.0 or above
try:
req = urllib.request.Request(url, headers=headers)
resp = urllib.request.urlopen(req)
respData = str(resp.read())
except:
print("Could not open URL. Please check your internet connection and/or ssl settings \n"
"If you are using proxy, make sure your proxy settings is configured correctly")
sys.exit() See #298 to install it. |
it do not work |
Like the error message says, you can display the full traceback to have more details. If you use a proxy, do not forget to indicate it by adding --proxy ip:port to the command. If it is an SSL issue, you can try to install again Python. |
Tahnk you. I do not have a proxy, so I can not use this project? |
You can use this project without proxy. In fact the part of this project which simply query an url to get its content fails for you. So if you don't use proxy, the issue is probably in ssl settings. |
Could not open URL. Please check your internet connection and/or ssl settings
If you are using proxy, make sure your proxy settings is configured correctly
An exception has occurred, use %tb to see the full traceback.
The text was updated successfully, but these errors were encountered: