运行python程序时出现
RuntimeError: cryptography is required for sha256_password or caching_sha2_password
报错原因:mysql版本身份验证出现问题引起的
解决办法,安装安装cryptography即可:pip3 install cryptography 或者 pycharm里直接安装也可以
运行python程序时出现
RuntimeError: cryptography is required for sha256_password or caching_sha2_password
报错原因:mysql版本身份验证出现问题引起的
解决办法,安装安装cryptography即可:pip3 install cryptography 或者 pycharm里直接安装也可以