First of All Thank you very much for your help for setting up erpnext. This is my first post and sorry if any mistakes.
I also faced the same issue as ModuleNotFoundError: No module named ‘erpnext .
So I checked and followed this https://medium.com/@binodpaneru23/setting-up-erpnext-in-mac-os-c475466f5403
Based on this doc I used frappe-bench/env/bin/pip3 install -U -e ./apps/erpnext
Again I got stuck with Cython is required to compile pandas from a development branch. error.
Then I checked this post [Bench installation of erpnext fails on pandas setup if numpy>=1.19.0 · Issue #22424 · frappe/erpnext · GitHub]
Based on this doc I used the following commands:
frappe-bench/env/bin/pip3 install pandas==0.24.2
frappe-bench/env/bin/pip install numpy==1.18.5
After this I did frappe-bench/env/bin/pip3 install -U -e ./apps/erpnext and it was successful.
Once I finished the erpnext installation I continued with the command sudo frappe-bench/env/bin/python3 temp --production --user frappe --mariadb-version 10.5 --verbose
Then it successfully Installed and I was able to access the desk.