项目场景:
提示:这里简述项目相关背景:
使用pycharm运行自动化用例时报错:
CryptographyDeprecationWarning:TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0
————————————————
问题描述
使用pycharm运行自动化用例时报错:
CryptographyDeprecationWarning:TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0
原因分析:
paramiko和Cryptography版本太高,将paramiko版本装成3.0.0,Cryptography装成36.0.2即可
解决方案:
paramiko同上操作