jupyter 出现 ValueError: No template sub-directory with name 'script' found in the following paths

运行

os.system(f'jupyter nbconvert --to script {ipynb_path}/*.ipynb')

报错

ValueError: No template sub-directory with name 'script' found in the following paths:
        /Users/xxx/Library/Jupyter
        /Users/xxx/Library/Python/3.9/share/jupyter
        /opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/share/jupyter
        /usr/local/share/jupyter
        /usr/share/jupyter

安装

nbconvert== 7.8.0
pandoc==2.3
pyppeteer==1.0.2
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。