Python Django MySQL版本对应表

目前比较好的Python版本是Python3.4.4,既能兼顾MySQL又能兼顾Django

What Python version can I use with Django?

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


MySQL Connector/Python Versions

实际上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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值