pymysql报错:cryptography is required for sha256_password or caching_sha2_password

这段报错意思是说 sha256_password 和 caching_sha2_password 这两个加密算法需要用到 cryptography 。因此该方法的解决方法就是pip install cryptography

在安装完成后可能没有引入到项目中,因此需要打开file--->settings

 

 

 

posted @ 2020-07-06 22:26  xing柠檬  阅读(2255)  评论(0编辑  收藏  举报