ImportError: No module named 'pandas.core.internals.managers'; 'pandas.core.internals' is not a package

When I tried to read a pickle file that saved by a former version of pandas, it yielded an ImportError.

ImportError: No module named 'pandas.core.internals.managers'; 'pandas.core.internals' is not a package

There was no hit on stackoverflow so i would like to share my solution for this particular problem.

This error comes off due to encoding of formerly saved pickle file. If you updated pandas to newly amended version, it produces this import error.

From: stackoverflow.com/q/54665527