Not able to install frappe in local(OS X) machine

Hi all,

I am getting below error while installing frappe in local(os x) machine, anyone can help me how to resolve below error

if i ran the below command

“bench init frappe-bench && cd frappe-bench”

getting error like this

Traceback (most recent call last):
File “/usr/local/bin/bench”, line 5, in
from pkg_resources import load_entry_point
File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 2797, in
parse_requirements(requires), Environment()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: bench==0.92
Harish:~ Harish$ sudo bench init frappe-bench && cd frappe-bench
Password:
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 5, in
from pkg_resources import load_entry_point
File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 2797, in
parse_requirements(requires), Environment()
File “/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py”, line 576, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: bench==0.92

Thanks

Do you have another python library by the name bench ?

Assuming that you cloned the bench repo at ~/bench-repo

sudo pip uninstall bench
sudo pip install -e ~/bench-repo

and try the init command again.