pylint: ImportError: No module named pkg_resources

Oleksandr Gavenko
Sat Jan 16 23:18:14 GMT 2021

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:


as suggested by:

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


More information about the Cygwin mailing list