I tried to install bench using ‘easy setup’ but it fails because my machine is ubuntu 18.04. Then I tried to manual setup but bench not run after ‘pip install --user -e bench-repo’ command.
when i enter
bench init frappe-bench && cd frappe-bench
It returns
Traceback (most recent call last):
File “/home/aziz/.local/bin/bench”, line 6, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3088, in
@_call_aside
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3072, in _call_aside
f(*args, **kwargs)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 3101, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 574, in _build_master
ws.require(requires)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 892, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 778, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘bench’ distribution was not found and is required by the application
How can I install ERPNext on ubuntu 18.04? is there any easy way to setup?