If I’m not mistaken, the resource module is Unix-specific and might not be available on Windows.
However, you could still try to install it via pip install python-resources and check, if the package can be found. If not, you would have to use a Unix-like OS or remove the resource usage from the script.