fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

`nbdev_build_lib` v1.1.22 doesn't build `fastbook`

Open sunny-g opened this issue 2 years ago • 1 comments

I'm now unable to run some of the cells that depend on fastbook because my nbdev_build_lib command (version 1.1.22) claims to convert all of the notebooks, but only outputs fastbook/__init__.py and fastbook/_nbdev.py. I'm using conda rather than virtualenv and have ensured that the nbdev_* commands I'm running are contained within my conda environment.

Any thoughts? Do I need to use a particular version of nbdev?

sunny-g avatar Oct 19 '21 03:10 sunny-g

VS Code latest version with MS Python extension will convert notebooks to .py script automatically.

I have used nbdev previously and it is excellent… but it is possible to “break” it if environments aren’t isolated properly.

Suggest using pipx if you want a simple solution.

On Tue, 19 Oct 2021 at 2:06 pm, Sunny Gonnabathula @.***> wrote:

I'm now unable to run some of the cells that depend on fastbook because my nbdev_build_lib command (version 1.1.22) claims to convert all of the notebooks, but only outputs fastbook/init.py and fastbook/nbdev.py. I'm using conda rather than virtualenv and have ensured that the nbdev* commands I'm running are contained within my conda environment.

Any thoughts? Do I need to use a particular version of nbdev?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fastai/fastbook/issues/474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHJQEPM5BRSC7WEDJPATTTUHTOB5ANCNFSM5GIB7CAA .

Mjboothaus avatar Oct 19 '21 03:10 Mjboothaus