ImportError: No module named 'numpy.core.multiarray\r'

Error: ImportError: No module named 'numpy.core.multiarray when: loading a pickle file

pickle.load(open('cluster/user_dict','r'))

Resolution:

pickle.load(open('cluster/user_dict','rb'), encoding='latin-1')

No comments:

Post a Comment