Why would import packageName not throw an error in the PyCharm IDE but from packageName import moduleName does throw an error? I get the error "unresolved reference moduleName" and PyCharm underlines the words "packageName" and "moduleName" in red in the source code.
This is not a duplicate question since I've tried ALL of the possible answers in this question. This question just mentions the error, which is slightly different from this issue. Unresolved reference issue in PyCharm