How to Solve NameError: name 'Box' is not defined -- ipywidgets

Solution: Import the 'Box' module

To Solve the error, add the following line to the top of your code.

from ipywidgets import Box

 

For more information:
Python ipywidgets Box