jupyterlab / jupyterlab-desktop

JupyterLab desktop application, based on Electron.
BSD 3-Clause "New" or "Revised" License
3.76k stars 366 forks source link

Cannot export to PDF #875

Closed iamalsonothere closed 1 week ago

iamalsonothere commented 3 weeks ago

When i try to export to PDF i get the following error in a new window:

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 have xelatex and pandoc installed but the flatpak of Jupterlab-desktop does not appear to contain them. I tried allowing the flatpak of jupyer to access my real /usr/bin but to no avail.

JasonWeill commented 3 weeks ago

@iamalsonothere Thanks for opening this issue! JupyterLab Desktop runs inside an environment of its own, so you may need to install xelatex and pandoc inside the terminal inside of JupyterLab Desktop. Are you able to do this? You can find documentation about this process here: https://nbconvert.readthedocs.io/en/latest/install.html#installing-pandoc

JasonWeill commented 3 weeks ago

Also, which OS and version are you using, and which version of JupyterLab Desktop are you running?

iamalsonothere commented 3 weeks ago

@iamalsonothere Thanks for opening this issue! JupyterLab Desktop runs inside an environment of its own, so you may need to install xelatex and pandoc inside the terminal inside of JupyterLab Desktop. Are you able to do this? You can find documentation about this process here: https://nbconvert.readthedocs.io/en/latest/install.html#installing-pandoc

I cannot do this, there are no package managers available inside a flatpak enviornment

Also, which OS and version are you using, and which version of JupyterLab Desktop are you running?

Arch Linux JupyterLab Desktop 4.2.5-1 from https://flathub.org/apps/org.jupyter.JupyterLab

JasonWeill commented 2 weeks ago

I looked at the GitHub org related to this package — https://github.com/flathub/org.jupyter.JupyterLab — and found that its contributors may not be Jupyter contributors. Does this also happen when you install JupyterLab Desktop in another way mentioned in the README?

iamalsonothere commented 2 weeks ago

It does not occur when installed outside of Flatpak, but i made the issue here since the Flathub page links to this repo

RRosio commented 1 week ago

Since this issue does not occur when JupyterLab-Desktop is install outside of Flatpak, I think it might be best to report this as an issue in the repository mentioned above https://github.com/flathub/org.jupyter.JupyterLab/issues. As it is not an issue that would likely be addressed from within jupyterlab-desktop, I will go ahead and close this issue here.