Flask ImportError: attempted relative import with no known parent package

前端 未结 0 1345
感动是毒
感动是毒 2021-02-15 14:20

my folder structure:

├── api
│   ├── __init__.py  # empty
│   ├── api.py
│   ├── database
│   │   └── __init__.py  # holds db variable
│   ├── manage.py


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题