Platform: GCP ✅

If any one faced issue in running the fastai like,

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-14-0dcb1b68c103> in <module>
----> 1 path = untar_data(URLs.PETS); path

NameError: name 'URLs' is not defined

Then we have to update the fast ai library.
conda update fastai -c fastai will probably help change version to 1.0.6.
This will also give some permission trouble.

Issue is, conda & related files are installed with owner & group as root. Your doesn’t have permission to update/create dir and it fails.

Following command will help to reach fastai 1.0.11.

sudo su
 cd /opt/anaconda3/bin/
 ls -l
 ./conda install anaconda -y
 ./conda update fastai -c fastai 
 ./conda update prompt_toolkit
1 Like