Django version | Python versions |
---|---|
1.8 | 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5 |
1.9, 1.10 | 2.7, 3.4, 3.5 |
1.11 | 2.7, 3.4, 3.5, 3.6 |
2.0 | 3.5+ |
参考网址:
https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
实际上MySQL5.7.18对Python的Connector最高仅支持到Python3.4,Python3.5及以上版本是不能用的
The following table summarizes the available Connector/Python versions. For series that have reached General Availability (GA) status, development releases in the series prior to the GA version are no longer supported.
Table 3.1 Connector/Python Version Reference
Connector/Python Version | MySQL Server Versions | Python Versions | Connector Status |
---|---|---|---|
2.2 | 5.7, 5.6, 5.5 | 3.3 and higher, 2.7 | Developer Milestone |
2.1 | 5.7, 5.6, 5.5 | 3.3 and higher, 2.7, 2.6 | Recommended version |
2.0 | 5.7, 5.6, 5.5 | 3.3 and higher, 2.7, 2.6 | GA, Supported |
1.2 | 5.7, 5.6, 5.5 (5.1, 5.0, 4.1) | 3.1 and higher, 2.7, 2.6 | GA, Supported |
参考网址:
https://dev.mysql.com/doc/connector-python/en/connector-python-versions.html
原文地址:http://blog.51cto.com/461205160/2089813