我的软件版本:
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'
我该如何解决问题?
答案 0 :(得分:0)
尝试将python版本从 python 3.4 更新到 python 3.5