Error occurred while installing erpnext: name 'float64' is not defined

I am having an error while intsalling ERPNext12 in my Ubuntu-20.04 LTS. I need ERPNext12 so that I will have a development environment same with our Production environment and also I can install the apps without any version issue. I need it also so that I can restore database of production to my development environment.

While installing ERPNext12 this error occurs.

BTW I cloned v12.31.0

Anyone who can help me with this please?

Regards,