I'm trying to run the jupyter notebooks of fastai's v3 course. My system has ubuntu 16.04 . Here's what I've done:
Installed Python
Installed Anaconda
Ran
conda update conda
conda install -c pytorch -c fastai fastai pytorch torchvision cuda92
git clone https://github.com/fastai/course-v3
The repo is now cloned at
/home/ali/ml/course-v3
Did
cd nbs/dl1
, thenjupyter notebook
Opened the
http://localhost:8888/?token=xxxx
link from terminal
However, when I open any of the notebooks, and select any of the import statements, e.g:
%matplotlib inline
from fastai.basics import *
I get an error of the following kind:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-d09c56fdb8ce> in <module>
1 get_ipython().run_line_magic('matplotlib', 'inline')
----> 2 from fastai.basics import *
ModuleNotFoundError: No module named 'fastai'
I've running conda install -c fastai fastai
again as indicated on https://course.fast.ai/start_aws.html#step-6-access-fastai-materials but same result.
None of the other code blocks work of course, giving a NameError
on variables not being defined, probably because the initial import didn't work.
Any ideas what to do / what I'm doing wrong? This is driving me insane..