Hey again team. I wasn’t getting this error yesterday, is anyone else seeing this error in lesson 5 (Pet Breeds) on Google Colab?
#hide
!pip install -Uqq fastbook
import fastbook
fastbook.setup_book()
throws this error:
ERROR: fastai 2.0.18 has requirement fastcore<1.3,>=1.1, but you'll have fastcore 1.3.0 which is incompatible.
i have tried:
!pip install -Uqq fastbook
!pip install fastcore==1.1
import fastbook
fastbook.setup_book()
and
!pip install -Uqq fastbook
!pip install fastcore==1.3
import fastbook
fastbook.setup_book()
but honestly that was a wild stab in the dark.
does anyone have an easy fix for this?
Bianca
2
I woke up to the same issue this morning. This is what worked for me:
# Setup Fastai Colab environment
!pip install -Uqq fastbook
!pip install fastcore==1.2
import fastbook
fastbook.setup_book()
You may have to restart your runtime for this to work, then just run this cell again.
1 Like
aflip
(A Philip)
3
I had the same issue today - fixed by !pip install fastcore==1.2
1 Like
try upgrading fastai to v 2.1
!pip install -U fastai
then
!pip install -Uqq fastbook
import fastbook
fastbook.setup_book()
worked for me
amb85
(Ashley)
5
I found that with upgrading to fastai==2.1
, I also had to upgrade to torchvision=0.8.1
:
#hide
!pip install -U torchvision==0.8.1
!pip install -U fastai==2.1
!pip install -Uqq fastbook
import fastbook
fastbook.setup_book()
1 Like