ErPnext installion Error

while creating error bench init erpnext-bench

Receiving following error.

INFO:bench.app:installing frappe
INFO:bench.utils:erpnext-bench/env/bin/pip install -q -e erpnext-bench/apps/frappe --no-cache-dir
Command “python setup.py egg_info” failed with error code 1 in /home/serpentcs/erpnext-bench/apps/frappe/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/serpentcs/bench/bench/cli.py”, line 40, in cli
bench_command()
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/serpentcs/bench/bench/commands/make.py”, line 30, in init
python = python)
File “/home/serpentcs/bench/bench/utils.py”, line 75, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/home/serpentcs/bench/bench/app.py”, line 133, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/home/serpentcs/bench/bench/app.py”, line 164, in install_app
find_links=find_links))
File “/home/serpentcs/bench/bench/utils.py”, line 153, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: erpnext-bench/env/bin/pip install -q -e erpnext-bench/apps/frappe --no-cache-dir
INFO:bench.app:installing frappe
INFO:bench.utils:erpnext-bench/env/bin/pip install -q -e erpnext-bench/apps/frappe --no-cache-dir
Command “python setup.py egg_info” failed with error code 1 in /home/serpentcs/erpnext-bench/apps/frappe/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/serpentcs/bench/bench/cli.py”, line 40, in cli
bench_command()
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/serpentcs/.local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/serpentcs/bench/bench/commands/make.py”, line 30, in init
python = python)
File “/home/serpentcs/bench/bench/utils.py”, line 75, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/home/serpentcs/bench/bench/app.py”, line 133, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/home/serpentcs/bench/bench/app.py”, line 164, in install_app
find_links=find_links))
File “/home/serpentcs/bench/bench/utils.py”, line 153, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: erpnext-bench/env/bin/pip install -q -e erpnext-bench/apps/frappe --no-cache-dir

could any please help how to go furhter?

The problem is caused because of pip 10. Have sent PRs to fix the issue.


2 Likes