mysql报错信息RuntimeError: cryptography is required for sha256_password or caching_sha2_password

**

运行mysql报错RuntimeError: cryptography is required for sha256_password or caching_sha2_password

**
原因是当前python的运行环境中缺少cryptography安装包,在当前的程序的执行环境中的终端中输入 pip3 install cryptography 即可。
mysql报错信息RuntimeError: cryptography is required for sha256_password or caching_sha2_password