I’m trying to work through lesson4-imdb.ipynb on google colab and getting the following error when I try to execute the first “import” code block.
ModuleNotFoundError Traceback (most recent call last)
in ()
3 get_ipython().magic(‘matplotlib inline’)
4
----> 5 from fastai.learner import *
6
7 import torchtext
ModuleNotFoundError: No module named ‘fastai.learner’
I did execute:
!curl https://course.fast.ai/setup/colab | bash
to set up the environment first.
I also tried !pip install fastai==0.7.0 (based on a suggestion in another thread)
and then restarted the runtime and tried again, but still the same error.