From owner-freebsd-python@FreeBSD.ORG Wed Oct 22 07:24:06 2014 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 56CCB595; Wed, 22 Oct 2014 07:24:06 +0000 (UTC) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [84.201.143.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 12F1CEE; Wed, 22 Oct 2014 07:24:05 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward3l.mail.yandex.net (Yandex) with ESMTP id 6DAF915011CB; Wed, 22 Oct 2014 11:23:55 +0400 (MSK) Received: from smtp2o.mail.yandex.net (localhost [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id C975536A321D; Wed, 22 Oct 2014 11:23:54 +0400 (MSK) Received: from 46.38.37.38.tel.ru (46.38.37.38.tel.ru [46.38.37.38]) by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 77hMT5WMBg-NsXmOMoa; Wed, 22 Oct 2014 11:23:54 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 48c6419f-8910-4cb7-98c9-2c6587afc1d5 Message-ID: <54475B89.7080800@passap.ru> Date: Wed, 22 Oct 2014 11:23:53 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-python@freebsd.org, William Grzybowski , Marcus von Appen Subject: Re: games/pysolfc, R370447: from PIL import _imagingtk, ImportError: cannot import name _imagingtk References: <543F9C3F.4060501@passap.ru> <20141022052927.GA1056@medusa.sysfault.org> In-Reply-To: <20141022052927.GA1056@medusa.sysfault.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 07:24:06 -0000 22.10.2014 09:29, Marcus von Appen пишет: > On, Thu Oct 16, 2014, Boris Samorodov wrote: > >> Hi William, All, >> >> I'm using 10.1-RC2-amd64 and official packages. After recent "pkg >> upgrade" I've got the error: >> ----- >> % pysolfc >> [...] >> File "/usr/local/lib/python2.7/site-packages/PIL/ImageTk.py", line >> 180, in paste >> from PIL import _imagingtk >> ImportError: cannot import name _imagingtk >> ----- >> > > Did you build graphics/py-pillow yourself or install it from the > official poudriere repositories? Its default is not to use Tkinter, > which is likely to be the root problem for an official build. Marcus, thank you for your answer and analysis. You are quite right. Official package for games/pysolfc is broken after R370447. I replaced the official package of graphics/pillow with a package built with option "TKINTER=on". Now pysolfc works as expected. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve