[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pkg_resources fails



Thank you, I didn't see easy_install was from /usr/local.

Fixed.

On Sun, Apr 10, 2011 at 1:41 PM, Jakub Wilk <jwilk@debian.org> wrote:
progval@ProgVal-Andromede-Debian:~$ easy_install sphinx
Traceback (most recent call last):
 File "/usr/local/bin/easy_install", line 5, in <module>
   from pkg_resources import load_entry_point

easy_install is from /usr/local...


 File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2675, in
<module>
   parse_requirements(__requires__), Environment()
 File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in
resolve
   raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute==0.6.13

...but pkg_resources from /usr. That sounds rather like a broken installation of setuptools (or distribute). Why do you use local easy_install in the first place? Shouldn't the one from the python-setuptools package be good enough?


progval@ProgVal-Andromede-Debian:~/workspace/djangofrdoc$ make html
mkdir -p _build/html _build/doctrees
sphinx-build -b html -d _build/doctrees   . _build/html
Traceback (most recent call last):
 File "/usr/local/bin/sphinx-build", line 5, in <module>
   from pkg_resources import load_entry_point
 File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2675, in
<module>
   parse_requirements(__requires__), Environment()
 File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in
resolve
   raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Sphinx==1.1predev-20110227
make: *** [html] Error 1

Again, it looks like a problem with local installation of Sphinx.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20110410114124.GA813@jwilk.net" target="_blank">http://lists.debian.org/[🔎] 20110410114124.GA813@jwilk.net



Reply to: