mksetupini could not find pkg_resources

Jon Turney jon.turney@dronecode.org.uk
Mon Mar 27 19:59:00 GMT 2017


On 27/03/2017 16:53, Ivan Gagis wrote:
> I'm having the following problem with mksetupini script.
> On the fresh cygwin installation (both 32 and 64 bits) the script
> fails with the following error message:
>
> Traceback (most recent call last):
> File "/usr/bin/mksetupini", line 5, in <module>
> from pkg_resources import load_entry_point
> ImportError: No module named 'pkg_resources'

This error kinds of suggests that you either don't have 
python3-setuptools installed, or don't have a version which matches your 
python version

> Googling suggested that it cannpt find python-setuptools framework.
> I found out that package 'calm' is installed to /usr/lib/python3.4
> while python3-setuptools is installed to /usr/lib/python3.6. Can this
> be the root cause of the problem? Any thoughts about how to
> fix/workaround it?

The calm package needed rebuilding for the recent python 3.4 -> 3.6 update.

I've uploaded calm-20170327-1, please try that then when it reaches the 
mirrors.


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



More information about the Cygwin mailing list