Appbead Blog

"pkg_resources.DistributionNotFound: paramiko>=1.10,<1.13"

When run fab publish, got following errors:

Traceback (most recent call last):
  File "/usr/local/bin/fab", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 446, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 459, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/site-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: paramiko>=1.10,<1.13

Because the paramiko version is upgraded to 1.13.0, so uninstall them and re-install again:

$ pip uninstall paramiko fabric
$ pip install fabric

(Done)

misc pelican, fab

Comments