Web lists-archives.com

Re: mksetupini could not find pkg_resources




Hi,

thanks for updating the 'calm', not it seems like it goes to python3.6 directory:


C:\cygwin64\bin\bash -e -l -c "ls /usr/lib/python3.4/site-packages/"

README
C:\cygwin64\bin\bash -e -l -c "ls /usr/lib/python3.6/site-packages/"
__pycache__
appdirs.py
appdirs-1.4.3.dist-info
calm
calm-20170327-py3.6.egg-info
easy_install.py
packaging
packaging-16.8.dist-info
pkg_resources
pyparsing.py
pyparsing-2.1.10.dist-info
setuptools
setuptools-34.3.2.dist-info
six.py
six-1.10.0.dist-info


But still 'mksetupini' fails with same error:


Traceback (most recent call last):

File "/usr/bin/mksetupini", line 6, in <module>
from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'


Does anybody have other ideas of what could be wrong?
What can I try to analyze the problem?

Br,
Ivan


On 03/27/2017 09:56 PM, Jon Turney wrote:
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