I have a issue with Pycharm, that shows an error on importing local modules, even though it works.
The working code for import
is
from response_generator import core
Pycharm suggests
from .response_generator import core
When executing what pycharm suggest. Error received is:
ModuleNotFoundError: No module named '__main__.response_generator'; '__main__' is not a package
Anyone got a fix on this?