Overview
When running nbdev_prepare with nbdev, the following error occurred.
concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.
Solution
Running the following command beforehand resolved the error.
Summary
I hope this is helpful for anyone experiencing the same issue.