Beginner Installation of FastAi 0.7 on Windows 10 Nvidia GPU 10xx

Note: this is for FastAi 0.7 which is pretty much replaced at this point by the fully rewritten FastAi 1.0
Windows 10.

After spending 12 hours here is how I managed to have fastai 0.7 environment and Deep Learning lesson1 jupyter notebook working.

Please familiarize yourself with the following post and the associated issues that may appear before attempting the steps that worked for me.

  1. Install Visual Studio Community 2017 C++ Desktop Development edition. (C++ dependencies needed for python 3)
  2. Install Anaconda with latest version of Python 3.7. Install Git for W10. Restart.
  3. In Anaconda Prompt clone the fastai git.
  4. Add fiona fix to environment.yml in fastai folder. This worked for me.
    Howto: installation on Windows - #254 by toddprater
    Can also try this - but I have not tried it:
    Installing fastai on Windows 10: Failed building wheel for fiona - #2 by noisefield
  5. In Anaconda Prompt: go to fastai clone and execute conda env update. Then activate fastai.
  6. If pip error: update pip from 10.1 to 18.
    7: same as Jeremy’s HowTo:
  1. make symlink to old\fastai (so that you are using fastai 0.7)
    cd courses\dl1
    del fastai
    mklink /d fastai …..\old\fastai
  2. if kernel not found when running jupyter notebook (i had that problem): then change the path in the Anaconda3\envs\fastai\share\jupyter\kernels\python3\kernel.json to Anaconda3/envs/fastai/python
  3. when running lesson1.pynb if module not found error:
    check in your fastai folder to see if the old\fastai folder has all files in it.
    mine did not, so i manually copied the old\fastai folder from the fastai git to my fastai folder. (somehow files get lost in that folder during conda env update??)

Any comments regarding these steps and what worked for you, or did not, are welcome.

Thanks for the post, but as a beginner I need more information. Can you please elaborate on what:
4. Add fiona fix to environment.yml in fastai folder. What fix are you referring to?
7. Create symlink to \old\fastai. What is symlink named and how do we do this?

I made an unwritten assumption: that the beginner is somewhat familiar with the following post and the issues reported by other users.

authored by Jeremy (who does not need any introduction)

Now to your questions:

  1. refers to this post (thanks!) which worked for me:
    Howto: installation on Windows - #254 by toddprater

also this fiona fix that i have not tried:

  1. refers to no. 8 in Jeremy’s HowTo for Win:
    Howto: installation on Windows