fastai / fastbook

The fastai book, published as Jupyter Notebooks
Other
21.51k stars 8.33k forks source link

Add missing deps to `environment.yml` and `clean.py` #569

Open gunchu opened 1 year ago

gunchu commented 1 year ago

I was able to execute clean.py after these changes as follows:

$ conda env create -f environment.yml
...
$ conda activate fastbook
...
$ python tools/clean.py
...
<success>

Without these changes I get this error when executing clean.py (steps same as above):

Traceback (most recent call last):
  File "/Users/gunchu/Desktop/Code/fastbook/tools/clean.py", line 3, in <module>
    import nbformat
ModuleNotFoundError: No module named 'nbformat'