My Pycharm is autogenerating imports of this form: from submodule.subsub import myfunction. The root module , under which submodule sits, is missing in this import command. Yet this runs OK on my machine (Ubuntu).
In my colleague's machine (Windows; I don't know if that makes a difference), Pycharm correctly generates from root.submodule.subsub import myfunction, which runs OK on my machine too.
How do I get Pycharm to generate the full path on my machine? How do I get Python and Pycharm to correctly tell me that the abbreviated path is an error?