nbdev_diff_nbs
gives me:
Traceback (most recent call last):
File "C:\Users\eta1si\.conda\envs\nbdev\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\eta1si\.conda\envs\nbdev\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\eta1si\.conda\envs\nbdev\Scripts\nbdev_diff_nbs.exe\__main__.py", line 7, in <module>
File "C:\Users\eta1si\.conda\envs\nbdev\lib\site-packages\fastcore\script.py", line 112, in _f
tfunc(**merge(args, args_from_prog(func, xtra)))
File "C:\Users\eta1si\.conda\envs\nbdev\lib\site-packages\nbdev\sync.py", line 155, in nbdev_diff_nbs
res = subprocess.run(['diff', '-ru', d1, d2], stdout=subprocess.PIPE)
File "C:\Users\eta1si\.conda\envs\nbdev\lib\subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\eta1si\.conda\envs\nbdev\lib\subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\eta1si\.conda\envs\nbdev\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
I get the same error on the GitHub (Enterprise) Windows Runner in the company I work in. On the Linux runner it all works fine so it does appear that nbdev_diff_nbs
just doesn’t work on Windows? Does anyone have a workaround for this?