[Fixed]-Django undefined symbol: PyUnicode_AsUTF8

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

0👍

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).

Leave a comment