使用paramiko報錯:CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_poi


 

1、paramiko不支持cryptography-2.6.1

pip3 uninstall cryptography==2.6.1

2、paramiko 支持cryptography-2.4.2

pip install cryptography==2.4.2


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM