pytharm运行flask框架连接数据库,一直都没啥问题,最近突然弹出来下面的报错:
RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods
进入pytharm库管理界面,安装cryptography:
在登陆就可以了。
pytharm运行flask框架连接数据库,一直都没啥问题,最近突然弹出来下面的报错:
RuntimeError: 'cryptography' package is required for sha256_password or caching_sha2_password auth methods
进入pytharm库管理界面,安装cryptography:
在登陆就可以了。