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

Re: pkg_resources fails



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


Reply to: