Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RequestsDependencyWarning: urllib3 (1.25.2) or chardet (3.0.4) doesn't match a supported version! Fix

Whenever I run my code with requests or do a pip install I get this message

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

I have tried upgrading chardet, urllib3 and requests but nothing is working, anyone know how can I fix this?

Edit: RequestsDependencyWarning: urllib3 (1.9.1) or chardet (2.3.0) doesn't match a supported version <-- This did not fix my problem.

like image 889
JOhn Avatar asked May 15 '19 18:05

JOhn


2 Answers

The proper command for fixing this is:

pip3 install --upgrade requests

I upgraded from 2.21.0 to 2.24.0 and the error went away.

like image 74
Paul Avatar answered Nov 06 '22 01:11

Paul


Simply you have to upgrade you requests

  pip3 install requests
like image 66
Mohammad Aarif Avatar answered Nov 06 '22 00:11

Mohammad Aarif