delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/02/23/05:57:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E1412385AC26
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=ccVP7pu/ICkPcAT1ADMiC3icuy+v2LOC2sbA+sTKlF0=;
b=nRbvK9x6l5zeKbBVxPlTPsgg956Tpj+VVceqAvj9DWY+RxgwWp8qvmK+3TNojuqM+7
PZOyzY3cB2yQnCgN2IskpPuXU/xg39F8ugkz12sctM7VCpqOdOXZ14S0umEIH3+uXVfS
hnTxF5iUSg9XEPoWl3njP3z2PegvAEO2W6/5o4cbxWEUbI6Y9ia+7eGYDdPJpgq8PSwR
58EadpW4BPHQSXcqGsZBcvl7LAbZQY+Yfh4I7zLJFPtYu5AGMeue6hSCwRwYRTlWVyQ8
HLOq+wSEN8SY2A0MpIGrZb7k4x2Bsm/zc6m9NZz/uOndsQ/EN040R/jUJiYrnUrVLYld
K6/Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=ccVP7pu/ICkPcAT1ADMiC3icuy+v2LOC2sbA+sTKlF0=;
b=yZD1rQVFujKgCnxETRJos9QYpJE6cNS7RhucnGveDZ1/94KTSSODAZK1sQjhWnJW3P
dNIzs11vq3aU42WcxHTx9CIvfDxiw3lmWY/or2ekZw6SFF+q36513ClOLsHnmCwDqaT9
0mzNB3rPTgwCvo7+P18bNBMlWCChyFE+yny8eABp9oLW6OqF99Ddr1lTcQxQmCO4XmRt
ULcuPinUWblJhnEQrnGxcJu/iwvhWngIHr9Wvzdj0LznoS3M84F60Mor8wJI2wdVI32E
j8oaI6wNiIzOtrY1M9YTj7RJhqFmXwIGBTi4t42VBhZm4yJj+ncmwSjKvR/mKW4P14Ff
UYQw==
X-Gm-Message-State: AOAM533/fjJibXwA1h7Fj1OV5iJMC/kfM+9T1mFUoBt4tc3XFKJpV9WE
PO2r00cLgFVt/vRtNM4dFZGXT1JA8oU/ueDjyg38zkN3qhd4sQ==
X-Google-Smtp-Source: ABdhPJwWvgtYCDqL2ZDxhb3xGCcIsPCbREUj/q2TBhX5YB1Cc8izkqH0d9pEYhfcmkDZA/KxHFa4IgsnJNObOVkiOKw=
X-Received: by 2002:ab0:1e45:0:b0:341:b521:23f4 with SMTP id
n5-20020ab01e45000000b00341b52123f4mr8633713uak.0.1645613842327; Wed, 23 Feb
2022 02:57:22 -0800 (PST)
MIME-Version: 1.0
References: <CAK+zucn77L9Pw+P-osKSp2SoreyJ-g64EHamdL4iQFgzqAqaWg AT mail DOT gmail DOT com>
In-Reply-To: <CAK+zucn77L9Pw+P-osKSp2SoreyJ-g64EHamdL4iQFgzqAqaWg@mail.gmail.com>
From: Sharuzzaman Ahmat Raslan <sharuzzaman AT gmail DOT com>
Date: Wed, 23 Feb 2022 18:56:46 +0800
Message-ID: <CAK+zucm_abE4yU2CVJ4uPe6xwOyFnRrPF17ach9cPcif-wvGEQ@mail.gmail.com>
Subject: Re: python37-requests package does depends on charset_normalizer or
chardet
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Wed, Feb 23, 2022 at 6:37 PM Sharuzzaman Ahmat Raslan
<sharuzzaman AT gmail DOT 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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019