urllib3 (1.26.4) or chardet (4.0.0) doesn't match a supported version!
yujiaao opened this issue · 1 comments
yujiaao commented
lib version problem:
pip3 install dnsdiag
python3 -m dnsping -c 3 -t AAAA -s 8.8.8.8 example.com
[core]
/usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.25.10) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
try install newest version urllib and chardet not help.
pip3 install urllib3 chardet
Collecting urllib3
Downloading https://files.pythonhosted.org/packages/09/c6/d3e3abe5b4f4f16cf0dfc9240ab7ce10c2baa0e268989a4e3ec19e90c84e/urllib3-1.26.4-py2.py3-none-any.whl (153kB)
100% |████████████████████████████████| 153kB 560kB/s
Collecting chardet
Downloading https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl (178kB)
100% |████████████████████████████████| 184kB 516kB/s
Installing collected packages: urllib3, chardet
Successfully installed chardet-4.0.0 urllib3-1.26.4
python3 -m dnsping -c 3 -t AAAA -s 8.8.8.8 example.com
/usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.26.4) or chardet (4.0.0) doesn't match a supported version!
RequestsDependencyWarning)
so the question: What is the supported version?
farrokhi commented
Would you please share some information about the platform (OS, python version, etc) ?