0

我的软件版本: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'

我该如何解决这个问题?

4

1 回答 1

0

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

于 2019-05-23T11:16:32.733 回答