标签:版本不兼容 lse match request chardet char depend 总结 lib
报错提示ans -m ping devS
/usr/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.23) or chardet (2.2.1) doesn‘t match a supported version!
RequestsDependencyWarning)
E05 | SUCCESS => {
"changed": false,
"ping": "pong"
}
E04 | SUCCESS => {
"changed": false,
"ping": "pong"
}
E18 | SUCCESS => {
"changed": false,
"ping": "pong"
}
E17 | SUCCESS => {
"changed": false,
"ping": "pong"
}
原因:
python库中urllib3 (1.21.1) or chardet (2.2.1) 的版本不兼容
解决方法:
pip uninstall urllib3
pip uninstall chardet
pip install requests
总结:发现一例,解决一例,记录一例,总结一例!
ansible报错"RequestsDependencyWarning"
标签:版本不兼容 lse match request chardet char depend 总结 lib
原文地址:http://blog.51cto.com/mjunetwslinux/2177727