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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=xmoTdwsqa+gyCcQK DvT/LdLBNUOuGVYQhhlmexUuR1YFbet7OlIG7rVQQpdobQon/tBSbdeWefOsC9Xl rZeQrctKWVd0a4FvskJ7i7+4Dpb6jyJYar73E+cwZpujRTXGUzkqezp/knCQb72O S//a+aP/3TmHbcUcOb9bL4XoTK0= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=mhIa9H6U467p79kry2VY2C Zj9uk=; b=cKT4uNVJobISx5EysoagNBhdE9YPvrSTTsZYYYuQNUGXAkEay9CQMB XgDBPzeXH/eVd4ltqEJPFHK85JL2FjKoLcMCOzkAxQrUDVoxu3S4V58hEEjjQfUS lbY95sjAzuVWXtKmoW0CAAQD/ZnH4b0opQqjACfyvX7kpjL+ImtT4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:cd85f06, H*f:sk:cd85f06, H*MI:sk:cd85f06 X-HELO: mail-wr0-f179.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=HzJ5GKtwtyZbTPYL9GHWQ87rjHqW+cAVVaNPcVXRYMc=; b=YTxhMRxOQ6wtbnZaq6kJ8jcW9SmUgmKThWnlnfSvBjkxGJHRJwM0h5WJat2FK+5/xc KDeQFN5KtgWCho4yqYeQHrv8b28fW7R/ZHtC1GFg2Cik1x66u/WuOQ/yxiR+Y7/Rg4t9 /nfl3t8wU/vWhpwbnxP5wiFtJuAZ+md/V0XWbpWabjDzeO7V6NtWwevBYFaqw8uUeeug god9OtCFBn3IlIN0k0VlZjXJq1nUyxNszS9qWJPcTRveYqJqfwGEeo4sWOHj+Ab/bu0z Qk2rOtz5+iTyiOOGxayFWhMQOlBdOpC+o2IM8BB3EHlCuHv8s3DXU0sfyk5NnM9SoAj9 V7YQ== X-Gm-Message-State: AFeK/H0azsG5NACtsZLqbPLtyWU55TKb8J3SZcxUtlNCvEhK3FBkkgKCFWt8GRyg2NWtyg== X-Received: by 10.223.149.35 with SMTP id 32mr18585782wrs.107.1490645002356; Mon, 27 Mar 2017 13:03:22 -0700 (PDT) Subject: Re: mksetupini could not find pkg_resources To: The Cygwin Mailing List References: From: Ivan Gagis Message-ID: <09a007d8-cd2d-37fe-c63b-827037ac44e8@gmail.com> Date: Mon, 27 Mar 2017 23:03:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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 >> 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