Nbdev_default_export not found

Hello,

When I include this “magic” line

from nbdev import *
%nbdev_default_export core

I get this error

UsageError: Line magic function %nbdev_default_export not found.

Am I missing an installation step?

Regards,
Rupert

You need to be using nbdev 0.2.20 or later. You can check your nbdev version with pip show nbdev
image
If this is less than 0.2.20, then you need to pip install nbdev -U
image

If you prefer to use an editable install, see: https://github.com/fastai/nbdev/#installing

1 Like

Thanks, that did it. I was on 0.2.18.