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