Pip install bench-repo got failed

Hi All,

I’m trying to install bench-repo, unfortunetly getting below error:

ERROR: Command errored out with exit status 1:
command: /home/vennela/ERP_CODE/mooflow_develop/bin/python2 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/home/vennela/ERP_CODE/mooflow_develop/bench-repo/setup.py’"’"’; file=’"’"’/home/vennela/ERP_CODE/mooflow_develop/bench-repo/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base /tmp/pip-pip-egg-info-ihYCBa
cwd: /home/vennela/ERP_CODE/mooflow_develop/bench-repo/
Complete output (5 lines):
Traceback (most recent call last):
File “”, line 1, in
File “/home/vennela/ERP_CODE/mooflow_develop/bench-repo/setup.py”, line 23, in
install_requires=[str(ir.req) for ir in requirements],
AttributeError: ‘ParsedRequirement’ object has no attribute ‘req’
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

what could be the reason?

Regards,
Raghu.P

Please provide system information where you would like to install.

@Suresh_Thakor In ubuntu18.04

You seem using outdated frappe/bench.

@magic-overflow I have not yet installed frappe-bench. firstly I’m trying to install bench-repo after git clone.

which bench-repo you have cloned?

This line had been removed in master branch frappe/bench.

@magic-overflow used git clone -b develop https://github.com/frappe/bench.git bench-repo

You can compare your setup.py with https://github.com/frappe/bench/blob/develop/setup.py

Okay, let me check.

@magic-overflow I’m also facing the same issue,and i had tried with the link you shared.Still I 'm getting the same issue.

If u have the same problem, please check setup.py in ur bench folder with the link I mentioned above.