I\'m trying to upload the curve_fit from scipy.optimize to fit an exponential function to some data I have generated. My code looks like:
import matplotlib.p
This is most likely you installed 32-bit Python but 64-bit libraries or vice versa.
You need to remove Python and reinstall correct python.
https://www.python.org/download/
Here you can download Python.
Remember you python libraries should be the same 32bit or 64bit as the one of Python.