Date: Mon, 10 Feb 2014 18:43:57 -0200 From: William Grzybowski <william88@gmail.com> To: Scott Sturdivant <scott.sturdivant@gmail.com> Cc: python <python@freebsd.org> Subject: Re: python27-2.7.6_2 doesn't have pkg_resources? Message-ID: <CAHtVNLOHAbAQuPOcpn0Lxz%2B1GpeTJMw0EdQUddnEhpYPb8-Tjw@mail.gmail.com> In-Reply-To: <CAPcsqxn=di=evuP_HQYwpecpFU5gMMPPadsKPixHcmB2HAn2Cg@mail.gmail.com> References: <CAPcsqxn=di=evuP_HQYwpecpFU5gMMPPadsKPixHcmB2HAn2Cg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 "<string>", line 1, in <module> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHtVNLOHAbAQuPOcpn0Lxz%2B1GpeTJMw0EdQUddnEhpYPb8-Tjw>