CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
pip list | grep cryptography
显示3.3版本
需要低版本的cryptography
卸载高版本:
pip uninstall cryptography
安装低版本(2.4版本不支持某些功能,导致import pymysql失败):
pip install cryptography==2.6