python 連接數(shù)據(jù)庫出現(xiàn):'cryptography'packageisrequiredforsha256_passwordorcaching_sha2_passwordauthmethods的解決方法:
該錯誤提示的意思是:sha256_password和caching_sha2_password兩種加密方式需要cryptography。
所以只需要安裝一下cryptography包就可以了: pip install cryptography
未經(jīng)允許不得轉(zhuǎn)載:445IT之家 » python 連接數(shù)據(jù)庫出現(xiàn):’cryptography’packageisrequiredforsha256_passwordorcaching_sha2_passwordauthmethods