delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/28/09:11:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:cc:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=crNA9yHkoluHByJq
UKSzwtNbHfltj8XGzT4YWEXTjrwihUyf/O5Vr/1wD6Z6jia8dk7pTcQ/le1POYC5
7IbxLESeuYBDHMp4ihZRnap4B15doaDdvae7FfoU2p71EF3kFB0DVkrZVRK0QyxA
DlE0MqhTvM9BcG654Z/og3OYW7I=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:cc:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=8c4j/18CtZ1XtXx0mRogV4
6WJac=; b=dE4QmpFsj/c3PBdkVPk4fjZdT34PnKzJuC7cIG6lcvzr2gP37LOCiC
IzLblTUV33oy1tCULNxZLuRJTzvoN8JXAmf6P+VSfr11VaCv0pRz6pyQGL/+NDdp
iZcaCBMeCcTJP65I3aC0TBulCmN14qBLmhx32cmoIPXrhvM/muUY0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*f:sk:09a007d, H*MI:sk:09a007d, H*i:sk:09a007d, Hx-languages-length:1260
X-HELO: out1-smtp.messagingengine.com
X-ME-Sender: <xms:6mDaWAibHHqeyD4hCFkGwSxfA--g_ns8EBXCKhev3VLLZZMUEPnsdQ>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Subject: Re: mksetupini could not find pkg_resources
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <CAL_02JDvNBxrgieAM2HwoBM3vzw1tvaYoW_a3GtW2N_3Ae+n+g AT mail DOT gmail DOT com> <cd85f068-976e-796d-9816-693b3aeaa42c AT dronecode DOT org DOT uk> <09a007d8-cd2d-37fe-c63b-827037ac44e8 AT gmail DOT com>
Cc: Ivan Gagis <igagis AT gmail DOT com>
Message-ID: <91ee550d-87eb-fbaf-e6ce-f8c0ecb1d7ac@dronecode.org.uk>
Date: Tue, 28 Mar 2017 14:10:58 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <09a007d8-cd2d-37fe-c63b-827037ac44e8@gmail.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019