Mac OS Setup failed

So your issue is here, because you don’t have frappe installed in your virtual env:

To Fix it:

Step 1: Go inside virtual env inside itmasr-bench dir.
Step 2: Activate the virtual environment.
Step 3: execute, pip install -e ./apps/frappe --no-cache-dir

and then execute the bench build command to build the assets inside frappe app.

If bench build command doesn’t work while activation of virtual environment then deactivate the virtual environment and run it from global environment. sometime bench build doesn’t work in virtual env because you’ve installed the bench in global environment.

If you still want to use the bench commands in virtual environment then install the bench in virtual environment using commands below:

Step 1: Clone the bench using: git clone GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps --branch master(If you don’t have bench repository in your system)
Step 2: Install the cloned repo in virtual environment using: ./env/bin/pip3 install -e ./bench or (NOTE: execute this command inside itmasr-bench dir.

1 Like