ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

pkg_resources.DistributionNotFound: bench==3.0.0

Hi Everyone,
My ERPNext suddenly stopped working and when I tried to do a bench restart, I am getting the below error:

vishnu@vishnu-VirtualBox:/home/frappe/frappe-bench$ bench restart
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 444, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: bench==3.0.0

Does anybody have any idea about this?

Regards
Ruchin Sharma

This post might help you: