Lesson 4 Colab: NameError: name 'isintance' is not defined

encounted this issue while running this line of code:

using the latest version of fast.ai, what could be an issue?

1 Like

Solved, running the following:
!curl -s https://course.fast.ai/setup/colab | bash
solved my issue.

1 Like

It should be isinstance, not isintance. Looks like you’ve got wrong version installed.

2 Likes

I have the same issue, but I can’t do what you do (working on Google Cloud) due to lack of write access. I just updated the fastai library…

1 Like

I had the same issue on google cloud with the latest version of fastai. I used vi to change “isintance” to “isinstance” in data_block.py, and it works now.

1 Like

Yes, solved it for me too.