/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 @ 2018-08-30 15:54  用户名加载失败  阅读(3225)  评论(0编辑  收藏  举报