question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

requestsdepenencywarning: urllib3 (1.24.2) or chardet (3.0.4) doesn't match a supported version!

See original GitHub issue

I am using a scrip python on ubuntu 18.04.2 LTS, python version 3.6.5.

When I run my script a message of warning is shown for me, but I am not using in my script the urllib3 or others like this.

I try to use apt-get install urllib3 - apt-get install -f - apt-get install urllib3 --upgrade and and none solved this problem.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
sethmlarsoncommented, Apr 30, 2019

@chekroA Your issue is because requests 1.21.X doesn’t support urllib3 1.25.X. Try downgrading urllib3 via python -m pip install "urllib3<1.25".

0reactions
EricGPTIcommented, May 7, 2019

Sorry because I delayed to answer…

@XuHaoIgeneral I did it, but the error remains.

In my code I don’t use urllib but, only ubuntu 18.04 LTS, when I run the code this alert is shown, on Windows don’t.

@sethmlarson only packages installed are telethon, pymongo, elasticsearch and pytz.

Read more comments on GitHub >

github_iconTop Results From Across the Web

urllib3 (1.9.1) or chardet (2.3.0) doesn't match a supported ...
This is because of different requests module installed by the OS and the python dependencies for your local installation.
Read more >
urllib3 (1.26.1) or chardet (3.0.4) doesn't match a supported ...
In the startup logs is a warning ready(): initializing watson /home/valentijn/venv/lib/python3.8/site-packages/requests/__init__.py:89: ...
Read more >
RequestsDependencyWarning: urllib3 or chardet doesn't ...
Python: RequestsDependencyWarning: urllib3 or chardet doesn't match a supported version! Support Software & Applications.
Read more >
urllib3 (1.26.6) or chardet (3.0.4) doesn't match a supported ...
After upgrading the OS to Ubuntu 20.04, the monitoring plugin check_esxi_hardware returned a warning in the output.
Read more >
Python version, urllib3 and chardet dependency warnings
... urllib3 (1.26.7) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) openscaptesting | SUCCESS ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found