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

pkg_resources fails



Hello,

I have a problem for awhile with Python packaging (as user), mainly with easy_install. For instance:
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
  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
I didn't care about that very much, and installed the needed software with another way.

But, now, I have this problem, when making html with Sphinx, and that is really blocking:
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

I use Debian Sid, and all my packages are up-to-date.

Thank you in advance,
ProgVal 

Reply to: