Doc() not imported in local installation

On my installation of Fastai v.1.0.60 on Windows 10, the doc() function is somehow not imported through the standard syntax.

from import *
from fastai import *


NameError                                 Traceback (most recent call last)
<ipython-input-28-a3abe20d793b> in <module>
      1 from import *
      2 from fastai import *
----> 3 doc(SegmentationItemList)

NameError: name 'doc' is not defined

Other things appear imported normally, however. Example:



<class ''>
<function get_image_files at 0x0000018D1B9EEA68>

When I use Fastai on Google Colab, the doc() function works as expected.

from import *


class SegmentationItemList [source][test]

SegmentationItemList ( *** args** , convert_mode = 'RGB' , after_open : Callable = None , **** kwargs** ) :: ImageList

How can I troubleshoot this, please?

doc requires that you have ipython installed and be in a jupyter notebook. Check your local environment does have the most recent version of IPython.

I was in a jupyter notebook and the ipython version is 7.12.0.

The solution on another thread of of installing nbformat and nbconvert in the kernel’s environment solved the problem for me.