frappe-bench/env/bin/pip3 install -U -e ./apps/erpnext
ERROR: ./apps/erpnext is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
Note also I haven’t a Mac, but a Windows 10 wls2 envirnoment.
@Ido_Traini Erpnext is not made for working on such platforms. It is highly recommended to use the Linux based OS for installation and testing ERPNEXT.
However there are some brave souls who has tried making ERPNEXT work with WSL environment, please check the link below for more understanding.
@Nikunj_Patel
wsl2 is a virtual machine and there are no reasons because erpnext cannot run on it. There are details to resolve, sure, as always when you want to work with linux.
I’m trying to do it, for me and for anyone want to use erpnext on wls2. I think this is the right approach on open-source material, but this is your topic and I will stop to post questions and found solutions.
Only a note: regarding the command: frappe-bench/env/bin/pip3 install -U -e ./apps/erpnext
perhaps it can be useful to know that it is not correct, at least on my platform. Correct command is:
@Ido_Traini yes you are right to use open source as you deem fit, but as instructions from the core developers are clear that the current version installation via install.py script works best with ubunutu 18.04, Centos8 and debian. Anything else would require some hack. This is what I tried to do when I installed it on ubunut20.04. (this installation procedure is true for ERPNEXT 12 version. Version 13 might need some tweaking because there is lots of new things in it.)
Since all this OS behaves little different than others + lots of custom application installed on any given machine, it is impossible to have installation script to have 1 size fits all mode.
I have already shared a post of installing ERPNEXT12 on WSL on windows 10. If that might help you in anyway.
Anyways best of luck in your troubleshooting and if at all you find something working with your WSL please create a post and share it with community, just in case some core team developer might get something important from it in future.
@Nikunj_Patel
I’ve just concluded with success installation on Ubuntu 20.04 in wls2 environment. Your suggestions contain some command errors but with minimum tweaking it is possible.
now I will retry the procedure in a fresh installation and I will create a new post as reference for whatever want o need to do the same.
Thanks for your work.
Glad to know this works for you. I am a novice and tried it and didn’t work and since I’m unabke to dual boot my PC I’m unable to try it out. I will be looking forward to your post where you have a fail proof approach and also possible you try for v13?
I uninstalled the WSL Ubuntu and install a fresh one and the script worked. Then I used this script to install ERPNext v13 installer · GitHub although there were few error but it successfully install but unfortunately, I can access ERPNext on my browser.