01_Intro: Error in first line of code in Paperspace: FileExistsError: [Errno 17] File exists: '/storage/data/oxford-iiit-pet'

Hi everyone,

I’ve just started the book and I’m trying to get the first piece of code of chapter 1 to run in a Paperspace notebook:

from fastai.vision.all import *
path = untar_data(URLs.PETS)/'images'

The first line runs fine but the second line throws the following error:

FileExistsError: [Errno 17] File exists: '/storage/data/oxford-iiit-pet'

I’ve trawled this forum and the broader internet for fixes but haven’t found anything yet. In fact to my surprise I haven’t found anyone with this exact error yet!

Any help much appreciated!

Hi! I think your question is related to this.