This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mksetupini could not find pkg_resources


On 03/28/2017 04:10 PM, Jon Turney wrote:
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?
Yes, sorry for the typo.

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?
No, PYTHONHOME is not set.

Does 'python3 -v /usr/bin/mksetupini' tell you anything?
It tells a lot and among that there is this "pkg_resources not found" message. See full output in attached log.out file.

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.
See cygcheck.out in attachment.

I'm building my stuff on Appveyor, so it uses a clean cygwin64 installation every time, at least I hope it is clean, but no guarantee that it is very recent cygwin there. Just in case, you can see the faulty log here: https://ci.appveyor.com/project/igagis/prorab/build/master-36

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


Attachment: cygcheck.out
Description: Text document

Attachment: log.out
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]