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

Fatih1923 picture Fatih1923 · Feb 13, 2019 · Viewed 49.1k times · Source

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.

Answer

Fatih1923 picture Fatih1923 · Feb 13, 2019

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.