python在linux的报错集锦

1、

报错提示

/usr/lib/python2.7/site-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.21.1) or chardet (2.2.1) doesn't match a supported version!

  RequestsDependencyWarning)

原因:

python库中urllib3 (1.21.1) or chardet (2.2.1) 的版本不兼容

 

解决方法:

pip uninstall urllib3

pip uninstall  chardet

pip install requests

 

posted @ 2018-06-20 19:40  鸭子船长  阅读(240)  评论(0编辑  收藏  举报