public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* pylint: ImportError: No module named pkg_resources
@ 2021-01-16 23:18 Oleksandr Gavenko
  2021-01-17  5:32 ` Marco Atzeri
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2021-01-16 23:18 UTC (permalink / raw)
  To: cygwin

After installing pylint:

  setup.exe -p pylint

I expected I can use the package:

  pylint /dev/null

  Traceback (most recent call last):
    File "/usr/bin/pylint", line 5, in <module>
      from pkg_resources import load_entry_point
  ImportError: No module named pkg_resources

I tried to add package:

  python-setuptools

as suggested by:

  https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

and now it works.

I believe that x86_64/setup.bz2 is broken:

  depends2: python, python-logilab-astng, python-logilab-common

It doesn't mention python-setuptools.

Or it might be that /usr/bin/pylint should be rewritten to avoid dependency to
setuptools.

-- 
http://defun.work/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-17 21:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-16 23:18 pylint: ImportError: No module named pkg_resources Oleksandr Gavenko
2021-01-17  5:32 ` Marco Atzeri
2021-01-17 10:23   ` Oleksandr Gavenko
2021-01-17 21:36     ` Marco Atzeri

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).