If nbconvert throws a similar error, it is likely because the jupyter installation is not setup properly within a pyenv
ValueError: No template sub-directory with name 'python' found in the following paths:
/Users/aciuffo/Library/Jupyter
/opt/homebrew/Cellar/[email protected]/3.9.2_1/Frameworks/Python.framework/Versions/3.9/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter