Bench Update Error - "python setup.py egg_info"

Hello All,

I get the following error when I try to run bench update within my frappe-bench folder on mac osx.
I reinitialised my frappe app recently (deleted .git folder and ran git init again). I wonder if this has anything to do with the error.
I’d appreciate any tips to get past this error.

Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/wr/3cw2rk7n0zldjj_gnfjzmjwh0000gn/T/pip-build-hmhc8N/frappe/
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==2.0.0', 'console_scripts', 'bench')()
  File "/Users/chudeosiegbu/bench-repo/bench/cli.py", line 40, in cli
    bench_command()
  File "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/Users/chudeosiegbu/bench-repo/bench/commands/update.py", line 60, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
  File "/Users/chudeosiegbu/bench-repo/bench/commands/update.py", line 79, in _update
    update_requirements(bench_path=bench_path)
  File "/Users/chudeosiegbu/bench-repo/bench/utils.py", line 375, in update_requirements
    install_requirements(pip, req_file)
  File "/Users/chudeosiegbu/bench-repo/bench/utils.py", line 379, in install_requirements
    exec_cmd("{pip} install -q -r {req_file}".format(pip=pip, req_file=req_file))
  File "/Users/chudeosiegbu/bench-repo/bench/utils.py", line 127, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip install -q -r ./apps/bank_statement/requirements.txt

Regards,
cksgb

I fixed this by doing the following from my frappe-bench folder:

./env/bin/pip install -e ./apps/frappe