URLError: <urlopen error [Errno 11004] getaddrinfo failed> when running a demo

Hi all,

This is my first time to run pylinac. I am using Spyder (Python 3.7) as the IDE under Windows. I am trying to run the Starshot demo by using the codes:
from pylinac import Starshot

But it fails and gets the URLError: <urlopen error [Errno 11004] getaddrinfo failed>.

I would like to ask where can I place my username, password and proxy server address into the pylinac codes? Or is there any other settings I miss?
Btw, I can run pylinac.gui() with no problem.

Thank you very much for the help.



I set my HTTP_PROXY and HTTPS_PROXY settings as an environment variable (I do not need user and password).

with kind regards


Thomas is probably right. This looks like a firewall issue. The file itself is available here. Pylinac just grabs it from there and downloads it.