How to Solve NameError: name 'odeint' is not defined -- scipy
Solution: Import the 'odeint' module
To Solve the error, add the following line to the top of your code.
from scipy.integrate import odeint
For more information:
Python scipy odeint