Update breaks, DistributionNotFound

Traceback (most recent call last):
File “/usr/local/bin/frappe”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2711, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: frappe==4.7.1

Share the full steps that you executed to reach here.

ikhlas3@ikhlas3:~/sajid/bench/sites$ frappe --use local
Traceback (most recent call last):
File “/usr/local/bin/frappe”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2711, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: frappe==4.7.1
ikhlas3@ikhlas3:~/sajid/bench/sites$

I think you have to run this from the bench folder like “bench frappe” ?

Yeah I Am Also Try With That…The same error…

Are you on version 4?

Yeah I Perviously Use A Ver4…But Now I clone a latest ver 6…

Hello sir,
I’m getting the error like…
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2749, in
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

Can you please solve me out of this?
Thank you sir…