Error using bench with pycharm

Hello,

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/__init__.py", line 3084, in <module>
    @_call_aside
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
    f(*args, **kwargs)
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/__init__.py", 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/__init__.py", line 651, in _build_master
    ws.require(__requires__)
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 952, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Users/fellipeh/Developer/frappe/env/lib/python2.7/site-packages/pkg_resources/__init__.py", 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 https://github.com/frappe/bench 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/cli.py", line 60, in cli
    bench()
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/Users/fellipeh/Developer/bench-repo/bench/cli.py", line 303, in start
    _start(no_dev=no_dev)
  File "/Users/fellipeh/Developer/bench-repo/bench/utils.py", 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…

HI

Were you able to resolve this issue ?

inputs would be really appreciated

thanks
Nitesh

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