pip uninstall nbconvertrun CMD as admin
pip install nbconvert
Following above steps resolved my issue. Got this solution from this thread
Answer from Chamod on Stack Overflowpip uninstall nbconvertrun CMD as admin
pip install nbconvert
Following above steps resolved my issue. Got this solution from this thread
Here's my step to convert .ipynb to html:
- Install required module:
pip install nbconvert - Turn to the folder that contains .ipynb then run
jupyter nbconvert --to html Text.ipynb
You may create a new virtual environment to avoid messing up global one then try again.
For your reference: nbconvert-PyPI and create virtual environment.

Unable to run nbconvert with Python 3.11.4
Eporting PDF from VS Code
How to run a notebook using command line
Jupyter notebook --> Html using nbconvert, not showing the tables in the HTML after a while
Hey folks,
I’m currently working on a side project to make life easier for Python learners like myself who use Jupyter Notebooks a lot. One pain point I kept running into (especially during assignments and projects) was exporting .ipynb files to PDF.
I tried nbconvert, but ran into LaTeX errors and dependency issues every time. So I built a simple tool that does the job in your browser — no installs or setup needed.
📄 Try it here: https://rare2pdf.com/ipynb-to-pdf
You just upload your notebook, click convert, and get a clean PDF download. It preserves markdown, code blocks, and outputs. Totally free, and no login needed.
Would love your feedback if you give it a shot!