【Python】连接MySQL报错解决方案(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

✨解决方案

pip install cryptography

⭐转载请注明出处

本文作者:双份浓缩馥芮白

原文链接:https://www.cnblogs.com/Flat-White/p/17258529.html

版权所有,如需转载请注明出处。

posted @ 2023-03-26 13:20  双份浓缩馥芮白  阅读(547)  评论(0编辑  收藏  举报