pickle.load() error:
I found the reason online: this is a bug in pandas 1.3.0 and has been fixed in pandas 1.3.1.
Use pip list
command to check your own pandas version:
Sure enough it is 1.3.0
Reinstall pandas with the following command, version 1.3.1
pip uninstall pandas
pip install pandas==1.3.1
Problem Solved~
Reference link:https://stackoverflow.com/questions/68281924/cannot-read-pickle-file-in -cloud-run-app-typeerror-cinit-takes-at-least