Python Connector For Django 1.9 And Python 3.5?
Solution 1:
As cgohlke said, mysqlclient can not currently be compiled on Python 3.5 for Windows because the MySQL Connector/C is not yet compatible with the Visual Studio 2015 compiler required by Python 3.5.
Follow the related GitHub issue : mysqlclient-python - Not working with python 3.5 to be aware when this bug will be fixed.
When this issue will be fixed, mysqlclient should work.
Temporary solution with unofficial Windows binaries : mysqlclient-1.3.7
From Django 1.9 documentation :
Django supports MySQL 5.5 and higher.
Django requires mysqlclient 1.3.3 or later. Note that Python 3.2 is not supported. Except for the Python 3.3+ support, mysqlclient should mostly behave the same as MySQLDB.
From mysqlclient 1.3.7 package index :
mysqlclient is a fork of MySQL-python. It adds Python 3.3~ support and merges some pull requests.
MySQL-4.1 through 5.5 and Python-2.7, 3.3-3.5 are currently supported. PyPy is supported.
Post a Comment for "Python Connector For Django 1.9 And Python 3.5?"