No module named 'fastai.data' in Google Colab

I’m able to install fastai2 on Google Colab from git:

!pip install git+https://github.com/fastai/fastai.git
I’ve also had problems with pandas (sporadic issue) - df.head() function would fail with
"Nonetype" has no attribute "items".
“!pip install pandas” will install 1.0.5 version (not latest). After manually installing latest pandas version:
!pip install -Iv pandas=1.1.1
It worked fine. But, I suppose, problems with other packages like pandas may arrise too,

2 Likes