/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22)
Posted zlf1
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) 相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# 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) 的版本不兼容 解决如下: [
[[email protected]~]# pip uninstall urllib3
y
[[email protected]~]# pip uninstall chardet
y
[[email protected]~]# pip install requests
y
以上是关于/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22) 的主要内容,如果未能解决你的问题,请参考以下文章