運(yùn)行
os.system(f'jupyter nbconvert --to script {ipynb_path}/*.ipynb')
報(bào)錯(cuò)
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