In GitLab by @warsaw on Nov 3, 2017, 20:26
This error message
Technically speaking, I think this can also happen for namespace packages, which are packages, but which shouldn't be usable as an anchor for importlib_resources. So I think this error message might need to change.