Error using bench with pycharm


I start to get these error:

/Users/fellipeh/Developer/frappe/env/bin/python /usr/local/bin/bench start
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/", line 3084, in <module>
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/", line 3070, in _call_aside
    f(*args, **kwargs)
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/", line 3097, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/", line 651, in _build_master
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/", line 952, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'bench' distribution was not found and is required by the application

Process finished with exit code 1

I installed in my MacOs using manual steps… using these:

git clone bench-repo
sudo pip install -e bench-repo

Any idea what’s this error?

Now, I get these error:

/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /usr/local/bin/bench start
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/Users/fellipeh/Developer/bench-repo/bench/", line 60, in cli
  File "/usr/local/lib/python2.7/site-packages/click/", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/", line 534, in invoke
    return callback(*args, **kwargs)
  File "/Users/fellipeh/Developer/bench-repo/bench/", line 303, in start
  File "/Users/fellipeh/Developer/bench-repo/bench/", line 272, in start
    raise Exception("No process manager found")
Exception: No process manager found

Process finished with exit code 1

in terminal works fine, only on PyCharm I got these error…


Were you able to resolve this issue ?

inputs would be really appreciated


Hi have you resolved this issue?

Hi. Did any of you guys resolved this anyhow?

Maybe some setup clues here Search results for 'pycharm' - Frappe Forum