背景

运行代码报错了

cryptography is required for sha256_password or caching_sha2_password

这段报错意思是说 sha256_password 和 caching_sha2_password 这两个加密算法需要用到 cryptography

 

解决方案

其实 cryptography 是一个python包,所以解决方法很简单

pip install cryptography

 

相关文章: