python37-requests package does depends on charset_normalizer or chardet
Sharuzzaman Ahmat Raslan
sharuzzaman@gmail.com
Wed Feb 23 10:56:46 GMT 2022
On Wed, Feb 23, 2022 at 6:37 PM Sharuzzaman Ahmat Raslan
<sharuzzaman@gmail.com> wrote:
>
> Hi Cygwin package manager.
>
> I'm on my new laptop, and installing packages as necessary.
>
> After installing python37-requests, my program raised an exception like this:
>
> Traceback (most recent call last):
> File "get_header.py", line 1, in <module>
> import requests
> File "/usr/lib/python3.7/site-packages/requests/__init__.py", line
> 100, in <module>
> check_compatibility(urllib3.__version__, chardet_version,
> charset_normalizer_version)
> File "/usr/lib/python3.7/site-packages/requests/__init__.py", line
> 85, in check_compatibility
> raise Exception("You need either charset_normalizer or chardet installed")
> Exception: You need either charset_normalizer or chardet installed
>
> I did not see python37-requests depends or pulling in
> charset_normalizer or chardet during installation. Is that
> intentional?
>
> Thank you.
Installing python37-chardet manually clears the exception, but not
solving the initial issue.
Thank you.
--
Sharuzzaman Ahmat Raslan
More information about the Cygwin
mailing list