I installed the pre-requisite for installing Frappe Framework on the macBook through Homebrew. I cloned Frappe bench but I can not pip this “pip install --user -e bench-repo” from this guideline (Installation). This is my first exposure to this!
here is what I have on my terminal: Do you think this seems odd!
I even reinstalled python but still does not work!
Thank you so much! it worked, but I got a warning about it when I run “bench --version”.
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
WARN: Command not being executed in bench directory
can you run bench --version to check if the previous bench has been uninstalled correctly and the entry point is linked to the newly installed version?
if it says 4.1.0 or any other < 5.0.0 then, try deleting the bench-repo or .bench folder in your home directory (or where ever you had it cloned) and remove the corresponding egg-link file from under your Python site-packages.
Perhaps, also remove the bench entry point file by running rm $(which bench) and finally pip install --no-cache-dir --force-reinstall frappe-bench
Thank you so much for getting back to me again! I am very new to this ERPNext and I have less knowledge about how this works! I am using macBook which it comes with Python and python2 and for running python3, I need to have a virtual environment and run this code " pip install -e bench-repo". Thanks again for helping me out @gavindsouza! Have a safe and blessed day!
@Rakesh_dev this isn’t a bench issue; it’s likely a pip one. It’s not setting your packages in PATH. I’d suggest installing bench for root user alone if you’re using pip install frappe-bench instead of the editable install. or look further into the PATH issue. Maybe refer to this SO post.