Skip to content

Windows having problem with clean notebook #986

@jvanelteren

Description

@jvanelteren

I think it should be possible to run nbdev on Windows without WSL. I got nbdev1 working a year ago and had lot's of fun with it. Decided to migrate with clean nbdev 2. I installed everything with pip install through cmd and the nbdev commands seemed to work fine.

However when committing to github the workflow failed:

Check we are starting with clean git checkout
Trying to strip out notebooks
/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/nbdev/clean.py:110: UserWarning: Failed to clean notebook
  warn(f'{warn_msg}')
/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/nbdev/clean.py:111: UserWarning: clean_ids
  warn(e)
/opt/hostedtoolcache/Python/3.9.13/x64/lib/python3.9/site-packages/nbdev/clean.py:111: UserWarning: clean_ids
  warn(e)
Check that strip out was unnecessary
Error: Notebooks and library are not in sync.  Please run nbdev_export.

I did note the nbdev_clean command gives a similar output. nbdev_export seems to work.
Any ideas? Example (nothing much changed to default install: link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions