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