Having issues with python pip urllib.request - anyone know how to fix common errors? or Best practice

20 Replies, 907 Views

urllib.request is kinda finicky with SSL. Here’s what worked for me:

- Make sure your system time is correct (seriously, SSL checks this).
- If you’re on macOS, reinstall certs via `Install Certificates.command` in your Python folder.

Also, yeah, `requests` is way better. urllib.request feels like wrestling a bear sometimes.

Messages In This Thread



Users browsing this thread: 1 Guest(s)