Avatar ·

SSL protocol errors

📁 Advanced Python Topics, Error, python3, requests, AI, pip

When I use the most ordinary requests.get(), Python throws SSL certificate errors

Traceback (most recent call last): File ""C:\\Users\\ADMIN\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\urllib3\\connectionpool.py"", line 603, in urlopen chunked=chunked) File ""C:\\Users\\ADMIN\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\urllib3\\connectionpool.py"", line 344, in _make_request self._validate_conn(conn) File ""C:\\Users\\ADMIN\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\urllib3\\connectionpool.py"", line 843, in _validate_conn conn.connect() File ""C:\\Users\\ADMIN\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\urllib3\\connection.py"", line 370, in connect ssl_context=contex

Avatar ·

And for Windows 10 you need to use the Plyer module, it's even simpler here

import plyerplyer.notification.notify  ( message='The actual message',    app_name='Your app name',    app_icon='sample.jpg',    title='Title', )

Don't forget to install it via pip

pip3 install Plyer

or the official website

Log in to leave an answer

Blogs