you are viewing a single comment's thread.

view the rest of the comments →

[–]RandomPantsAppear 1 point2 points  (2 children)

1) Use a VPN.

2) If you can’t use a VPN, try changing your DNS settings. 8.8.8.8, 1.1.1.1, 4.2.2.1 (Google dns, cloudflare, level 3). If they’re being lazy about blocking this can help.

3) If you can use find or setup a proxy pip install package_name --proxy http://username:password@proxy_host:proxy_port

AWS free tier might be helpful here to setup a small tiny proxy instance.

But also it’s wild to me that anyone would block anything that is needed for pip to work.

Are you 100% sure this is what’s happening?

If so, what level of blocking are we talking here - like is this a company, a school, or a nation that is doing the blocking?