/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22)

我用docker-compose up -d运行时警告

/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!

/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22)_第1张图片

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

pip uninstall urllib3
pip uninstall chardet
 pip install requests

(完)

你可能感兴趣的:(/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.22))