Use os.makedirs instead of os.mkdir [:86] because the given path may require creating the parent directories. `singular.py` - Line 86 `serve.py` - Line 109