Skip to content

运行run.py后报调用对象属性不存在错误 #71

@SRSG

Description

@SRSG

在linux(图一)和windows(图二)运行run.py时都有报这两项错误:
AttributeError: type object 'Setting' has no attribute 'select'

AttributeError: type object 'Model' has no attribute 'boot_model'
但是其他配置包括mysql,redis,python3.8.2等都已经按照文档完成了配置且无报错。
如何解决?
image
9347daf6b81978377c27968f4968c82

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions