so the problem is that pypi.org hase been filtered by iranian government(yes , i know it’s ridiculous!). i tried to install some python modules from Github downloaded files:
pip install moduleName
but every module has it’s own dependencies and try to connect to pipy.org to reach them. then there will be an error during installation.
is there any solution?
your help will be much appreciated.
Advertisement
Answer
I live in a country that also blocks services, mostly streaming platforms. In theory, the way behind this is the same whether to watch Netflix or download python and its dependencies. That is you’ll probably need to use a VPN.
As said by d-dutchveiws, there’s tons of videos and resources on how to set up a VPN. If you do end up using a paid VPN service I would just like to add that I lived in the UAE for a while and I found that some VPN services were blocked by the country themselves. I know NordVPN did not work/was blocked by the UAE so I ended up finding expressVPN and that worked. In other words, I’d be sure not to commit to any payment plan/only use free trials because even the VPN services can be blocked. Hope I helped a bit!