NameError: name 'VBox' is not defined

Hi everyone.

I’m currently running through 02_production.ipynb on Google Colab and I keep running into the error:
NameError: name 'VBox' is not defined
when i execute:
VBox([widgets.Label('Select your bear!'), btn_upload, btn_run, out_pl, lbl_pred]).
Here’s a screenshot if it makes my issue more clear:

Any help is appreciated.
Thank you.

Hey Daniel!

Have you installed fastai correctly and run all the imports at the top of the notebook successfully? If so, I believe the widget is supposed to be imported.

At the top of my notebook, I have

!pip install -Uqq fastbook
import fastbook


from fastbook import *

However, when I run the first block, I encounter the following error: ERROR: fastai 2.0.6 has requirement pandas>=1.1.0, but you'll have pandas 1.0.5 which is incompatible., which might have something to do with it.

pandas issue has been fixed. VBox issue is still not resolved.

Issue fixed with;

from ipywidgets import *