Importing pandas didn\'t throw the error, but rather trying to read a picked pandas dataframe as such:
import numpy as np import pandas as pd import matplotl
I had this error when I created a pkl file with python 2.7 and was trying to read it with python 3.6 I did:
pd.read_pickle('foo.pkl')
and it worked