From owner-freebsd-python@FreeBSD.ORG Mon Feb 10 20:43:58 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 9FECC726 for ; Mon, 10 Feb 2014 20:43:58 +0000 (UTC) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D6E11763 for ; Mon, 10 Feb 2014 20:43:58 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id o15so10288105qap.2 for ; Mon, 10 Feb 2014 12:43:57 -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=9nD7w6Co12Irs3H0MXUhyeuH7nr43tyH6EFe8vF8zI4=; b=IWmvkdfuhN6hOXcFTKEdbK8DnVygONQxPBbWFrHvtRzoxoyf95NfRNhzKeubIfiNGK rI6kUWPRecJjo9J+fqRyr093Hiar9FuBAB+OPAj5vUPe6ySOEpcYUOdh4uzUMrC1anx1 mdhdpbnt0n+SCEr3u3gBaSmaGfR+WRXhftIxhuEGFqOZgrLB0we1I4TtIhs8/d4Ip31U wU1GVqWU9UFBO/R/9Ftyz3uoMz83OEg/b8y2Bwy34tj7oAahBlxm4kId+jiyWnAac6fx jhTPNoPnuW3PSykVPktbhfdgqX7zQQ+a88IafOXh9HjQxMcFCOYPWvmaLNpIdl7GmjTw D1Ig== MIME-Version: 1.0 X-Received: by 10.140.101.162 with SMTP id u31mr48775122qge.107.1392065037607; Mon, 10 Feb 2014 12:43:57 -0800 (PST) Received: by 10.140.81.199 with HTTP; Mon, 10 Feb 2014 12:43:57 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Feb 2014 18:43:57 -0200 Message-ID: Subject: Re: python27-2.7.6_2 doesn't have pkg_resources? From: William Grzybowski To: Scott Sturdivant 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:43:58 -0000 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