Setting up new site fails on MAC

Not able to setup ERP Next natively on MAC without Virtual Box. Installed XCode and Brew and then ran the automated setup. But when i set up the site it fails with the following error:

Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/Users/mjain13/.bench/bench/cli.py”, line 17, in cli
change_uid()
File “/Users/mjain13/.bench/bench/cli.py”, line 69, in change_uid
drop_privileges(uid_name=frappe_user, gid_name=frappe_user)
File “/Users/mjain13/.bench/bench/utils.py”, line 425, in drop_privileges
running_gid = grp.getgrnam(gid_name).gr_gid
KeyError: ‘getgrnam(): name not found: mjain13’

can you share the exact command?

I think the development version works, not sure about production

MAC - OS X
Here are the steps:
Installed X Code (from App store) and HomeBrew (http://brew.sh/) first.
brew install python
brew install git
curl “https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py” -o install.py
For the current user:
sudo python install.py --develop

Went to frappe-bench and “bench start”

The server starts but when trying to hit localhost:8000, server crashes.

So assuming the easy install script doesnt not install the erpnext, I did bench new-site site1.local

It asks for SQL Password and after entering password it fails with following error:
mysql_exceptions.OperationalError: (1045, “Access denied for user ‘root’@‘localhost’ (using password: YES)”)

When running sudo bench new-site site1.local it fails with error :raceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/Users/mjain13/.bench/bench/cli.py”, line 17, in cli
change_uid()
File “/Users/mjain13/.bench/bench/cli.py”, line 69, in change_uid
drop_privileges(uid_name=frappe_user, gid_name=frappe_user)
File “/Users/mjain13/.bench/bench/utils.py”, line 425, in drop_privileges
running_gid = grp.getgrnam(gid_name).gr_gid
KeyError: ‘getgrnam(): name not found: mjain13’

Anything on this?

@mayankjain
Following command worked for me
Install brew
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
install python
brew install python
install wget
brew install wget
install git
brew install git
install ERPNext
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
curl “https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py” -o install.py