Python 连接数据库时出现了错误,raise RuntimeError(“‘cryptography‘

raise RuntimeError("'cryptography' package is required for sha256_password or caching_sha2_password auth methods")
RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods

 

解决方案老直接了!!!点赞,试一试

posted @ 2020-10-24 16:01  bH1pJ  阅读(109)  评论(0编辑  收藏  举报