如何解决启动cmdb的问题

时间:2019-05-22 12:01:38

标签: mysql django cmdb

我的软件版本: Django(1.11.13) python 3.4.3 maraidb 10.5 当我使用python3 manage.py makemigrations时,发生

错误
File "/home/python34/lib/python3.4/site-packages/django/db/backends/mysql/base.py", line 101, in execute
    return self.cursor.execute(query, args)
  File "/home/python34/lib/python3.4/site-packages/MySQLdb/cursors.py", line 203, in execute
    raise ProgrammingError(str(m))
django.db.utils.ProgrammingError: unsupported operand type(s) for %: 'bytes' and 'tuple'

我该如何解决问题?

1 个答案:

答案 0 :(得分:0)

尝试将python版本从 python 3.4 更新到 python 3.5