fastai / fastbook

The fastai book, published as Jupyter Notebooks
Other
21.78k stars 8.42k forks source link

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

Open sunny-g opened 3 years ago

sunny-g commented 3 years ago

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?

Mjboothaus commented 3 years ago

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 .