Using Nbdev with Google Colab

Hi @mathew100,
I found your PyPI package nbd-colab, but I’m having trouble using it.
I followed your documentation and did the below but at the very beginning ran into an error. I guess I missed some steps…

I create a Colab notebook and run the below

!pip install nbd_colab
from nbd_colab import *
from nbdev import *

leading to the below error:

---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-18-53c94a362f4e> in <module>()
----> 1 from nbd_colab import *
      2 from nbdev import *

4 frames
/usr/local/lib/python3.6/dist-packages/nbdev/imports.py in __init__(self, cfg_name)
     40         while cfg_path != cfg_path.parent and not (cfg_path/cfg_name).exists(): cfg_path = cfg_path.parent
     41         self.config_file = cfg_path/cfg_name
---> 42         assert self.config_file.exists(), "Use `create_config` to create settings.ini for the first time"
     43         self.d = read_config_file(self.config_file)['DEFAULT']
     44         add_new_defaults(self.d, self.config_file)

AssertionError: Use `create_config` to create settings.ini for the first time

I tried the below but got an name 'create_config' is not defined

create_config

Any input would be more than welcome :grin: