沒有名為「cryptography.hazmat.bindings._constant_time」的模組 - Exchangelib 模組 - Python

沒有名為「cryptography.hazmat.bindings._constant_time」的模組 - Exchangelib 模組 - Python

我有以下問題。我正在 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 位,這可能是此錯誤的原因還是還有其他問題?如果問題與版本不符有關,我可以在哪裡下載 win32 版本的 Exchangelib?

相關內容