Error on bench init

Hello everyone,

I have successfully installed frappe-bench on my Mac, but when I run bench init frappe-bench I get these error message;

➜  Projects cd ~/Desktop 
➜  Desktop bench init frappe-bench
INFO:bench.utils:virtualenv -q env -p /usr/bin/python
INFO:bench.utils:./env/bin/pip -q install --upgrade pip==9.0.3
  Could not find a version that satisfies the requirement pip==9.0.3 (from versions: )
No matching distribution found for pip==9.0.3
Traceback (most recent call last):
  File "/Users/akinwale/Library/Python/2.7/bin//bench", line 9, in <module>
    load_entry_point('bench==4.1.0', 'console_scripts', 'bench')()
  File "/Users/akinwale/Projects/bench-repo/bench/", line 40, in cli
  File "/Library/Python/2.7/site-packages/click/", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/", line 697, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Python/2.7/site-packages/click/", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/akinwale/Projects/bench-repo/bench/commands/", line 30, in init
    python 		 = python)
  File "/Users/akinwale/Projects/bench-repo/bench/", line 65, in init
    setup_env(bench_path=path, python = python)
  File "/Users/akinwale/Projects/bench-repo/bench/", line 171, in setup_env
    exec_cmd('./env/bin/pip -q install --upgrade pip==9.0.3', cwd=bench_path)
  File "/Users/akinwale/Projects/bench-repo/bench/", line 154, in exec_cmd
    raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip -q install --upgrade pip==9.0.3
➜  Desktop 

Any one with an idea of whats going on?

Delete the frappe-bench folder and try bench init frappe-bench again. I presume there was a temporary network failure on your part which prevented your PC from getting the desired pip version.

If you are still facing this error please post here again

Thanks @codingCoffee

@codingCoffee, I have been able to install frappe bench and created a new site.

I am presently working with the frappe tutorial, but I am a bit confused. My desk is very different from that of the tutorial, What do you think can be the reason.

I do not have the preinstalled apps on my desk like item, customer, production_order etc. Does this have to do with installing erpnext also. Can’t I use the framework without the erp solution?