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

20 Replies, 868 Views

If python pip urllib.request is timing out, it might be the server, not you.

Try this to debug:

```python
import socket
socket.setdefaulttimeout(30)
```

And yeah, SSL errors are a nightmare. `certifi` is your friend.

Messages In This Thread



Users browsing this thread: 1 Guest(s)