From owner-freebsd-python@FreeBSD.ORG Mon Feb 10 20:48:12 2014 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A97D7BF for ; Mon, 10 Feb 2014 20:48:12 +0000 (UTC) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 185A81795 for ; Mon, 10 Feb 2014 20:48:11 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id b8so5133232lan.4 for ; Mon, 10 Feb 2014 12:48:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CE7fzqOvOse0WURoVKGB5IpmAlttucfZp/HKgqS7qNw=; b=aV2zYyxyU6HhHDVRzCrr1exRbk0CxkBXxXj4W4wmgF5e/uxR0XMtnU+/MLllIxzoef rvQkH0UETgKY72nsGEeWHBlMRI9eSsOHPUrntBVj5ufzTpI2X2ByTY2MTT7EUKA+mqI8 pI9wRB49K8V++pYc5X0ufxPZWF0Q+GJdWFlN8T6VV0NxI1Y7tMa7ggw3qAhCr6OSUSQw AS2UvRwD+N+7bpDNngeE1TEWVXDCOulnMly9XcOb0aqvNEhUSWMZAbll8WLvN3JmkcXB Ji6qUprxNhsp0d/Jf/n9Pmt2BsbpAYe2YkT3Bz79xjMufgeUEJLS97wJuAD4XFUKpoRk X7fA== MIME-Version: 1.0 X-Received: by 10.112.40.114 with SMTP id w18mr22205510lbk.20.1392065290125; Mon, 10 Feb 2014 12:48:10 -0800 (PST) Received: by 10.114.5.129 with HTTP; Mon, 10 Feb 2014 12:48:10 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Feb 2014 13:48:10 -0700 Message-ID: Subject: Re: python27-2.7.6_2 doesn't have pkg_resources? From: Scott Sturdivant To: William Grzybowski Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: python X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 20:48:12 -0000 Thanks William, that indeed does appear to be the issue. Sorry for the noise, and thanks again for the pointer to the right direction! On Mon, Feb 10, 2014 at 1:43 PM, William Grzybowski wrote: > > On Mon, Feb 10, 2014 at 6:07 PM, Scott Sturdivant < > scott.sturdivant@gmail.com> wrote: > >> Hi, >> >> With the latest FreeBSD package (2.7.6_2), the pkg_resource module seems >> to >> be broken: >> >> # pkg info | grep python27 >> python27-2.7.6_2 Interpreted object-oriented programming >> language >> # /usr/local/bin/python2.7 -c 'import pkg_resources' >> Traceback (most recent call last): >> File "", line 1, in >> ImportError: No module named pkg_resources >> >> >> This was not the case on 2.7.6_1: >> >> # pkg info | grep python27 >> python27-2.7.6_1 Interpreted object-oriented programming >> language >> # /usr/local/bin/python2.7 -c 'import pkg_resources' >> # >> >> >> This impact other packages such as py27-virtualenv. If i try to create a >> virtualenv, it immediately aborts with the error that pkg_resources >> doesn't >> exist. >> >> Am I doing something wrong? >> > > AFAIK pkg_resources comes from devel/py-setuptools, not from > lang/python2.7 . > It sounds like devel/py-virtualenv is broken and should have an explicit > run dependency for devel/py-setuptools. > > > > -- > William Grzybowski > ------------------------------------------ > Curitiba/PR - Brasil >