ImportError: No module named - Python

后端 未结 6 1651
闹比i
闹比i 2020-11-28 04:52

I have a python application with the following directory structure:

src
 |
 +---- main
 |
 +---- util
 |
 +---- gen_py
         |
         +---- lib
<         


        
6条回答
  •  余生分开走
    2020-11-28 05:11

    make sure to include __init__.py, which makes Python know that those directories containpackages

提交回复
热议问题