Python: 'ModuleNotFoundError' when trying to import module from imported package

后端 未结 3 1206
情书的邮戳
情书的邮戳 2020-12-30 10:43

I\'m using Python 3.7.1 on macOS Mojave Version 10.14.1

This is my directory structure:

man/                          
  Mans/                  
             


        
3条回答
  •  隐瞒了意图╮
    2020-12-30 11:17

    This happened to me when I renamed a module, even though everything was consistently refactored. Renaming the module to a different name fixed the problem. I am not sure why.

提交回复
热议问题