My first nbdev tutorial: Detected difference between the notebooks and the library


I am using Windows 10 and Python Anaconda. I am trying to follow Jeremys YouTube Tutorial on nbdev.
After push my changes I get the following error on GitHub Actions:

 if [ -n "$(nbdev_diff_nbs)" ]; then echo -e "!!! Detected difference between the notebooks and the library"; false; fi
  shell: /bin/bash -e {0}
    pythonLocation: /opt/hostedtoolcache/Python/3.6.10/x64
!!! Detected difference between the notebooks and the library
##[error]Process completed with exit code 1.

This is the link to my repository.

Is there sth. wrong with my settings.ini file?

Also I noted, that the links in my GitHub page don’t work. Maybe it is related to the other problem?

Did you run nbdev_build_lib?

1 Like

Thank you very much! Looks like I had to run this command again. Not sure, but I thought I already did that. Do I have to run this command every time I change sth. in my module?

After running this command, everything looks great:

However, as you can see on my GitHub Page, the links on the top right corner don’t work properly. Any idea what I did wrong?

I tried to follow Jeremys Tutorial. I think I did everythink up to min. 30:00

Yes. Each time you adjust your notebook before commiting it needs this run. However you can edit multiple notebooks then only run it once :wink:

That I’m not sure on, I haven’t gone through his tutorial before. I’ll peek in your repo in a little bit once I have time :slight_smile:

1 Like