fastbook icon indicating copy to clipboard operation
fastbook copied to clipboard

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

Open gunchu opened this issue 2 years ago • 0 comments

  • Add missing deps execnb and nbformat to environment.yml
  • Missing include in clean.py

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'

gunchu avatar Mar 29 '23 22:03 gunchu