pylint: ImportError: No module named pkg_resources
Oleksandr Gavenko
gavenkoa@gmail.com
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:
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/
More information about the Cygwin
mailing list