So follow these step to fix the issue:
Step 1: Go to itmasr-bench dir.
Step 2: Install the bench in virtual environment(instructions:GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps) from virtual environment.
Step 3: after installing the bench then install the frappe app in virtual environment using bench or pip command.
Step 4: Install the erpnext app.
For Installing the any frappe app you need to clone it and insert the app name entry in ./sites/apps.txt file manually or use bench get-app [app-name] --branch [branch-name] command to install it automatically.
NOTE:
Don’t use bench init command to intialize the new environment.
After successful installation then execute the following command to fix the dependency issue:
Command 1: bench setup requirements
Command 2: bench setup socketio
Command 3: bench setup redis
Command 4: bench build
Command 5: bench setup procfile to setup development environment.
If you want to use the production environment then execute additional commands:
Command 5: bench setup nginx
Command 6: bench setup supervisor
after executing these command then make symbolic link manually for nginx.conf and supervisor.conf file.
NOTE:
to make symbolic link you’ve to install the nginx and supervisor services.