New Version Error

Hi,
when i am using the following steps at that time it gives an error.
1.install Latest setup of frappe without error
2.get erpnext app through the this command
“bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
3.i am not installing the erpnext app but login through administrator
4.follow the steps of setup.
5.logout and install app erpnext.
6.login and create lead->create customer
at that time define the customer group it gives following error.

Hi,
I think it is a bug.
when i am installing the new-site and install erpnext and start the setup(login) that’s time it’s work fine.
when i am install new site and without install erpnext start the site(login),and after that i have install erpnext it gives error.

thanks,
Sagar Shiragawakar.