Skip to content

是否方便告知关于使用时软件及类库版本问题 #1

@NingerJohn

Description

@NingerJohn

环境版本如下

python: 2.7.17

运行python init.py, 报错如下

Traceback (most recent call last):
  File "init.py", line 22, in <module>
    main()
  File "init.py", line 18, in main
    init_task_db()
  File "init.py", line 11, in init_task_db
    task = Task.objects.get_or_create(type='beat')[0]
AttributeError: 'QuerySet' object has no attribute 'get_or_create'

python beat.py start 以及 python work.py start 都有报错,就不贴出来了,猜测是版本问题

是否方便告知改项目使用的版本问题???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions