If anyone have the same dependency problem, please refer to here.
Important
Use the package managing tools in replit.com to uninstall seaborn
and pandas
and reinstall them to the latest version. Only editing the related files may not work.
The above solution works for me.