python2 requests模块警告
作者:互联网
此时python版本2.7,requests版本2.12.4在命令行输入python后导入模块,import requests之后有警告:
CryptographyDeprecationWarning: Python 2 is no longer supported by the Python
这时了解可能跟cryptography模块有关,当前这个版本为3.0,进行降级处理成功导入了requests模块
pip install cryptography==2.9
标签:版本,cryptography,Python,python,模块,requests,python2 来源: https://www.cnblogs.com/lutt/p/15808899.html