Fix: error: Jupyter command `jupyter-nbconvert` not found [VSCode]


If you get the error saying "`jupyter-nbconvert` not found." while you are trying to export a Jupyter Notebook to HTML in Visual Studio Code, try the below steps.

Fix:

  1. Open Terminal/Command Prompt/PowerShell on your device (Mac/Windows 10/11)
  2. Now try to uninstall jupyter-nbconvert using pip (pip3)
    pip uninstall jupyter-nbconvert

    or

    pip3 uninstall jupyter-nbconvert
  3. Once done, re-install it,
    pip install jupyter-nbconvert

    or

    pip3 install jupyter-nbconvert
  4. Finally, try the command again,
    jupyter nbconvert --to html Notebook-name.ipynb

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap