The custom serialization functionality is deprecated in pyarrow 2.0. I solve this problem by downgrading the version.
conda install -c conda-forge pyarrow=1.0.1
Note: the version of pyarrow should be matched with the version of python.