RuntimeError: ‘cryptography‘ package is required for sha256_password or caching_sha2_password auth m

612 ワード

について
RuntimeError: ‘cryptography’ package is required for sha256_password or caching_sha2_password auth methods
エラーは、cryptographyをインストールするように指示されています.インストールコマンドは次のとおりです.
pip install cryptography

海外のソースを使用してダウンロード速度が遅い場合は、国内のソースを使用して速度を上げることができます.
  • 豆弁源
    pip3 install cryptography -i https://pypi.douban.com/simple
    
  • 清華大学源
    pip3 install cryptography -i https://pypi.tuna.tsinghua.edu.cn/simple