From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Re: python37-requests package does depends on charset_normalizer or chardet
Date: Wed, 23 Feb 2022 14:57:21 +0000 [thread overview]
Message-ID: <20220223145721.7br2bxokvv4vyih4@lucy.dinwoodie.org> (raw)
In-Reply-To: <CAK+zucm_abE4yU2CVJ4uPe6xwOyFnRrPF17ach9cPcif-wvGEQ@mail.gmail.com>
On Wed, Feb 23, 2022 at 06:56:46PM +0800, Sharuzzaman Ahmat Raslan wrote:
> 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.
It looks to me as though python37-requests correctly lists a dependency
on python37-chardet in Cygwin's setup.ini. Can you please provide the
setup.log.full file from when you installed python37-requests, as well
as the cygcheck output per the link below?
> Problem reports: https://cygwin.com/problems.html
next prev parent reply other threads:[~2022-02-23 14:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-23 10:37 Sharuzzaman Ahmat Raslan
2022-02-23 10:56 ` Sharuzzaman Ahmat Raslan
2022-02-23 14:57 ` Adam Dinwoodie [this message]
2022-02-25 8:40 ` Sharuzzaman Ahmat Raslan
2022-02-25 9:11 ` Adam Dinwoodie
2022-02-25 9:37 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220223145721.7br2bxokvv4vyih4@lucy.dinwoodie.org \
--to=adam@dinwoodie.org \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).