Finally installing FastAI by the command given: “conda install -c fastchan fastai” and "conda install -c fastai fastbook’’
If sentencepiece is missing, just download the newest version through conda. If click._bash_complete module is missing → downgrade 'conda install ‘click<8’ ’
N.B.: You need to install jupyter notebook in your new environment to be able to link a Notebook kernel to the new environment (‘conda install jupyter’)
When creating google cloud instance you have the option of picking an environment. Picking the PyTorch environment set *everything up correctly for me.
*Not everything. graphviz was missing and jypter notebook warned me of this when I ran the ‘pratical deep learning for coders’ notebooks. So following other advice on the forums I reinstalled FastAI and that caused the callback problem for me.
I resolved this by recreating the VM and just installing graphviz separately.