From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id EA524385780D for ; Sun, 17 Jan 2021 10:23:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA524385780D Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l15De-0001N1-Oz for cygwin@cygwin.com; Sun, 17 Jan 2021 11:23:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Oleksandr Gavenko Subject: Re: pylint: ImportError: No module named pkg_resources Date: Sun, 17 Jan 2021 12:23:31 +0200 Organization: Oleksandr Gavenko , http://defun.work/ Message-ID: References: <1f07662a-714a-e1de-3658-04c3e5948dc6@gmail.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (cygwin) Cancel-Lock: sha1:atbMZx4RznBLInFGFUYjCZIJYUM= X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_OTHER_BAD_TLD, NML_ADSP_CUSTOM_MED, PDS_OTHER_BAD_TLD, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 10:23:43 -0000 On 2021-01-17, Marco Atzeri via Cygwin wrote: > This explain the status problem: > > $ grep -e "pylint" -e "logilab" cygwin-pkg-maint > pylint ORPHANED (Jari Aalto) > python-logilab-astng ORPHANED (Jari Aalto) > python-logilab-common ORPHANED (Jari Aalto) Oh, I see. BTW I noticed in the mentioned link: > https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources report on the problem as of Mar 21 '13 (with 5 upvotes for the solution). So the problem is not recent. ================================================================ Only pylint is available in Cygwin. May be I haven't tried hard but I see no anything corresponding to Debian's: pycodestyle (or pep8) python3-pyflakes python3-mccabe python3-pydocstyle bandit Still pylint was useful (I spotted shadowing built-in function "id" by global variable). I'll try to figure out how can I get them in venv, it is not that crucial to have them bundled in Cygwin. -- http://defun.work/