Web lists-archives.com

Re: mksetupini could not find pkg_resources




On 27/03/2017 21:03, Ivan Gagis wrote:
thanks for updating the 'calm', not it seems like it goes to python3.6
directory:

not -> now?

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'

Since pkg_resources clearly is there in there in the listing above, something a bit strange is going on here.

Do you have the PYTHONHOME env var set?

Does 'python3 -v /usr/bin/mksetupini' tell you anything?

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

cygcheck.out as per [1] might shed some light.

[1] https://cygwin.com/problems.html#cygcheck


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