Skip to content Skip to sidebar Skip to footer

Django Undefined Symbol: PyUnicode_AsUTF8

I am new to Python/Django. I have set up the environment needed to run Django project.When I'm trying to migrate an existing project , it shows up this error django.core.exceptions

Solution 1:

Its a bug in mysqlclient. There are some compatibility issues in mysqlclient with Python's 3.2 version. Apparently, mysqlclient is still not supported in Python 3.2.

Check this django-developers google group thread where this issue was raised and discussed. https://groups.google.com/forum/#!topic/django-developers/n-TI8mBcegE


Solution 2:

It looks as though the mysql code needs to access symbols that your Python interpreter isn't making available. Perhaps you could load the python-dev package, which contains them (though I don't ever remember having to do that myself).


Post a Comment for "Django Undefined Symbol: PyUnicode_AsUTF8"