簡體   English   中英

Devstack 安裝錯誤:CryptographyDeprecationwarning: int_from_bytes is deprecated, use int.from_bytes instead

[英]Devstack installation error : CryptographyDeprecationwarning: int_from_bytes is deprecated, use int.from_bytes instead

您好,我正在嘗試在 ubuntu 20.04 上安裝 devstack,但我一直收到錯誤消息

Cryptographydepricationwarning:int_from_bytes 已棄用,請改用 int.from_bytes

有誰知道如何解決它?

提前致謝

密碼學剝奪警告

您需要固定舊版本的密碼學,例如 cryptography<3.4,它將滿足 SecretStorage 的依賴性並且不會拋出棄用警告。 這意味着您應該將 cryptography<3.4 安裝到您的環境中,並且應該選擇此版本的 cryptography。

為此:

pip freeze | grep "cryptography"  #show current version of cryptography
sudo pip uninstall cryptography   #uninstall it
sudo pip install cryptography==3.3 #install new version <3.4 (here I chose 3.3)

我提到了這個類似的問題

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM