
次の問題が発生しています。Win32 で Python 32 ビットを使用しています。Exchangelib 1.12.5 をインストールしましたが、モジュールをインポートしようとすると、次のエラーが発生します。
File "C:\Users\adu-amponan\AppData\Local\Python\lib\site-packages\cryptography\x509\extensions.py", line 19, in <module> from cryptography.hazmat.primitives import constant_time, serialization File "C:\Users\adu-amponan\AppData\Local\Python\lib\site-packages\cryptography\hazmat\primitives\constant_time.py", line 11, in <module> from cryptography.hazmat.bindings._constant_time import lib ModuleNotFoundError: No module named 'cryptography.hazmat.bindings._constant_time'
「cryptography/hazmat/bindings」ディレクトリに移動すると、_constant_time ファイルを見つけることができますが、ファイルの拡張子が「.cp37-win_amd64」であることがわかります。
私は win32 で Python 32 ビットを使用しているので、これがこのエラーの原因でしょうか、それとも別の問題があるのでしょうか? 問題がバージョンの不一致に関連している場合、exchangelib の win32 バージョンはどこからダウンロードできますか?