mbendigeri
(Mallikarjun Bendigeri)
October 2, 2018, 9:01pm
1
Hi All
I am getting the below error all of a sudden in Google colabs
The imports for fastai were all working fine till few days back.
ModuleNotFoundError Traceback (most recent call last)
in ()
1 from fastai.imports import *
----> 2 from fastai.conv_learner import *
3 from fastai.dataset import *
4 from fastai.model import *
5 from fastai.sgdr import *
ModuleNotFoundError: No module named ‘fastai.conv_learner’
brtknr
(Bharat Kunwar)
October 2, 2018, 9:29pm
2
Fastai has been updated to v1. You will need to use the old api located under ./old/fastai/ folder.
mbendigeri
(Mallikarjun Bendigeri)
October 3, 2018, 4:57am
3
brtknr:
fastai
Hi Bharat
Thanks for replying. Where is the ./old/fastai/folder located. I could not see anything when I ran the below command in google colab
!ls /usr/local/lib/python3.6/dist-packages/
or !ls /usr/local/lib/python3.6/dist-packages/fastai
amit007
(Amit kashyap)
October 3, 2018, 9:56am
4
run !pip install fastai==0.7.0 , you shouldn’t face any issues after that
5 Likes
mbendigeri
(Mallikarjun Bendigeri)
October 3, 2018, 6:49pm
5
Perfect, it worked. Many thanks
1 Like
Harshil
(Harshil Malawat)
December 25, 2018, 12:39pm
6
Thank you …worked for me as well