Error in chapter 02_production.ipynb

Can anyone help me solve this issue? I get error in the first cell of 02_production.ipynb file. I made sure to pull the latest files too.

Here’s the stack trace:

NameError                                 Traceback (most recent call last)
<ipython-input-2-2b820b2b946f> in <module>
      1 #hide
      2 get_ipython().system('pip install -Uqq fastbook')
----> 3 import fastbook
      4 fastbook.setup_book()

/opt/conda/envs/fastai/lib/python3.8/site-packages/fastbook/ in <module>
     15 except ModuleNotFoundError:
     16     warn("Missing Azure SDK - please run `pip install azure-cognitiveservices-search-imagesearch`")
---> 17 try: from nbdev.showdoc import *
     18 except ModuleNotFoundError: warn("Missing `nbdev` - please install it")
     19 try:

/opt/conda/envs/fastai/lib/python3.8/site-packages/nbdev/ in <module>
      5 if IN_IPYTHON:
      6     from .flags import *
----> 7     from .showdoc import show_doc
      8     #from .export import notebook2script

/opt/conda/envs/fastai/lib/python3.8/site-packages/nbdev/ in <module>
     12 from nbconvert import HTMLExporter
---> 14 if IN_NOTEBOOK:
     15     from IPython.display import Markdown,display
     16     from IPython.core import page

NameError: name 'IN_NOTEBOOK' is not defined