Mtime
Mtime copied to clipboard
是否方便告知关于使用时软件及类库版本问题
环境版本如下
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 都有报错,就不贴出来了,猜测是版本问题