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: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

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