ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 124 from C header, got 112 from PyObject code example

Example 1: valueerror: numpy.ndarray size changed, may indicate binary incompatibility. expected 88 from c header, got 80 from pyobject

I'm in Python 3.8.5. It sounds too simple to be real, but I had this same issue and all I did was reinstall numpy. Gone.

pip uninstall numpy
pip install numpy

Example 2: ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

Update your numpy!! 

eg: pip install numpy 

or copy to clipboard newest version from 
https://pypi.org/project/numpy/#history

then: pip install numpy==versionNumber

Tags:

Misc Example