/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.2.1) doesn't match a supported version! RequestsDependencyWarning)

/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.2.1) doesn't match a supported version! RequestsDependencyWarning)

 

[root@iZwz9bhan5nqzh979qokrkZ ~]# ansible all -m ping

 

/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.2.1) doesn't match a supported version! RequestsDependencyWarning)

原因:python库中urllib3 (1.22) or chardet (2.2.1) 的版本不兼容 解决如下: [

[root@aaaaaaaaaaaaaaaaaaaa~]# pip uninstall urllib3

y

[root@aaaaaaaaaaaaaaaaaaaa~]# pip uninstall chardet

 

y

[root@aaaaaaaaaaaaaaaaaaaa~]# pip install requests

y

posted @ 2019-05-23 21:38  tooltime  阅读(1935)  评论(0编辑  收藏  举报