Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I know this question has been asked multiple times
like this
but none of the solutions worked for me, I think most solutions out there do not work for Mac.
I'm trying to export a jupyter notebook file to pdf using nbconvert and I get the error
nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so. Find further instructions at https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex.
I tried
!export PATH=/Library/TeX/texbin:$PATH
!jupyter nbconvert your_notebook.ipynb --to pdf
which is also the solution proposed here but the problem still persists. I am using Jupyter Notebook on VS Code which is installed through conda. Even if I open the Notebook through conda and open it in a web browser I get the same issue.
–
–
–
–
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.