我用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!
原因:python库中urllib3 (1.22) or chardet (2.2.1) 的版本不兼容 解决如下:
pip uninstall urllib3
pip uninstall chardet
pip install requests
(完)