您的位置: 首页 > 文章 > mysql报错信息RuntimeError: cryptography is required for sha256_password or caching_sha2_password mysql报错信息RuntimeError: cryptography is required for sha256_password or caching_sha2_password 分类: 文章 • 2024-08-20 09:16:10 ** 运行mysql报错RuntimeError: cryptography is required for sha256_password or caching_sha2_password ** 原因是当前python的运行环境中缺少cryptography安装包,在当前的程序的执行环境中的终端中输入 pip3 install cryptography 即可。