使用pymysql时,报错RuntimeError: ‘cryptography‘ package is required for sha256_password
2.解决方案:原因:缺少cryptography依赖包
解决方法:
pip install cryptography
安装完重启服务即可

使用pymysql时,报错RuntimeError: ‘cryptography‘ package is required for sha256_password
2.解决方案:原因:缺少cryptography依赖包
解决方法:
pip install cryptography
安装完重启服务即可