Ok I found a workaround for at least myself and anyone else on mac running into this problem currently.
If when you run this command:
bench init frappe-bench --frappe-branch master
and it fails, then there maybe a issue with pip and --no-cache-dir.
To fix this we will change the source of bench-repo/bench/app.py line 98 define install_app > make no_cache=True.
Save then rerun this command first:
sudo pip install -e bench-repo
And then…
bench init frappe-bench --frappe-branch master
This should get you all the way to the Maria DB issue…
If mariadb gives errors related to library not found then run these commands:
brew unlink mariadb brew install mariadb-connector-c ln -s /usr/local/opt/mariadb-connector-c/bin/mariadb_config /usr/local/bin/mysql_config pip install mysqlclient rm /usr/local/bin/mysql_config brew unlink mariadb-connector-c brew link mariadb
Later if you get past setup and there are issues with the wizard. We made a file named ‘sample’ and put it into the frappe-bench/sites folder with the following code:
args = { "language":"English (United States)", "country":"India", "timezone":"Asia/Kolkata", "currency":"INR", "full_name":"Revant", "email":"r@r.com", "password":"r", "domain":"Services", "company_name":"R", "company_abbr":"R", "company_tagline":"R", "bank_account":"R", "fy_start_date":"2017-04-01", "fy_end_date":"2018-03-31", "user_sales_1":1, "user_purchaser_1":1, "user_accountant_1":1, "user_sales_2":1, "user_purchaser_2":1, "user_accountant_2":1, "user_sales_3":1, "user_purchaser_3":1, "user_accountant_3":1, "user_sales_4":1, "user_purchaser_4":1, "user_accountant_4":1, "customer_1":"A1", # "supplier_1":"S1", "item_1":"I1", "item_group_1":"Products", "item_uom_1":"Unit", "is_sales_item_1":1, "is_purchase_item_1":0, "item_group_2":"Products", "item_uom_2":"Unit", "is_sales_item_2":0, "is_purchase_item_2":0, "item_group_3":"Products", "item_uom_3":"Unit", "is_sales_item_3":0, "is_purchase_item_3":0, "item_group_4":"Products", "item_uom_4":"Unit", "is_sales_item_4":0, "is_purchase_item_4":0, "item_group_5":"Products", "item_uom_5":"Unit", "is_sales_item_5":0, "is_purchase_item_5":0, "add_sample_data":0, "setup_website":0 } from frappe.desk.page.setup_wizard.setup_wizard import setup_complete setup_complete(args)
and then we opened a new terminal window while bench is still running and executed:
bench console
execfile('sample')
This will change the values in the malfunctioned setup wizard and allow you run erpnext.