Create_config when !pip install -Uqq fastbook

I think we have a few temporary workarounds. Nick made a good suggestion above. 1 is a bit fiddly, but you can see exactly what’s going on. 2 is easy, but you might not want to trust the code in my github branch.

Note: remember to “change runtime type” to use a GPU (o:

  1. Follow these steps in any of the course notebooks

    • Split the first cell into 2 cells
      image

    • Run the 1st cell

    • Go to files …
      image

    • … and up one level
      image

    • Navigate to usr/local/lib/python3.6/dist-packages/nbdev

    • Open flags.py and comment out the last line
      image

    • Run the second cell to import and setup fastbook

  2. Or you can, install nbdev from my branch after installing fastbook

#hide
!pip install -Uqq fastbook
!pip install git+https://github.com/pete88b/nbdev.git@nbdev-import-no-config
import fastbook
fastbook.setup_book()

Please be careful when trusting this kind of advice - I am trying to help (o: but … this kind of thing could easily be used to run malicious code