0

my softwares's version: Django (1.11.13) python 3.4.3 maraidb 10.5 when i use python3 manage.py makemigrations it occured an error with

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'

how can i resolve the problem?

yaziLiang
  • 3
  • 4

1 Answers1

0

Try to update your python version from python 3.4 to python 3.5

rahul.m
  • 5,572
  • 3
  • 23
  • 50