Jupyter Notebook download to other format not working - jupyter-notebook

I am using Jupyter on Linux, Jupyter itself is working fine, I need to download my notebook to pdf through the Jupyter menu. I tried following the error message to install pandoc, ...., just not successful, still error out like below:
nbconvert failed: pandoc wasn't found.
I already installed both nbconvert and pandoc though.
Thanks.

Related

Jupyter Notebook and "File/Download as/pdf" not working

I can run jupyter nbconvert SageTest.ipynb --to pdfwithout any problem from a terminal window. But doing this directly from the notebook using File -> Download as -> pdf will not work: nbconvert failed: xelatex not found on PATH. What to do? The same happens if I try to store it as ascii-file: Pandoc not found (but it is installed properly).
My environment: macOS Monterey 12.1, TeXLive2021, Safari 15.3

Cannot start jupyter notebook after deleting anaconda

What happened:
I have had Pip and Anaconda installed on my Mac. I tried to tidy up and decided to delete Anaconda since I assumed I only needed Pip for my Python programming.
My question:
I have been using jupyter notebook for my university project. Apparently, it had been installed by me using anaconda. Now that anaconda is gone, when I try running jupyter notebook, it is still looking in the deleted anaconda directory and throws the following error in the command line
/Users/username/anaconda3/bin/jupyter: No such file or directory
Furthermore, I now get this error when installing jupyter using pip3:
WARNING: The scripts jupyter, jupyter-migrate and jupyter-troubleshoot are installed in '/Users/username/Library/Python/3.8/bin' which is not on PATH.
Unfortunately, I barely have an idea of what I am doing when installing anything using the command line. Could you help me out in fixing the issue?

Cannot install fastparquet in jupyter notebook

I am trying to install fastparquet in order to write a csv into a parquet file. Using jupyter notebook, python 3,
the cell does not show any result after running the Following command:
pip install fastparquet
I run another simple command and it show the result. I installed another packages and it work perfectly but fastparquet does not installed without showing any error.
So,
How do I go about fixing this ?

Jupyter Notebook Download As LaTeX or PDF fails, but works from command line using nbconvert

Related to this question IPython/Jupyter Problems saving notebook as PDF
On macOS,
jupyter nbconvert example.ipynb --to latex
works just fine. pandoc is on my path at /usr/local/bin/pandoc.
However, within the running notebook, "File: Download as: Latex" results in an error.
500 : Internal Server Error
The error was:
nbconvert failed: Pandoc wasn't found.
Please check that pandoc is installed:
http://pandoc.org/installing.html
Is there a path variable I should be setting somewhere?

creating link to rstudio installation of pandoc on mac

I'm trying to use pandoc on a markdown document I'm working on at the command line on a mac. My Mac is telling me that I don't have pandoc installed. In fact, I know that pandoc is installed because I regularly use it from within Rstudio to knit rmarkdown or sweave files. I dealt with this problem on my desktop Ubuntu before and created a link from Rstudio's copy of pandoc to my bin so I could use it at the command line. However, I can't seem to find pandoc on my Mac. Does anyone know how I can create a link on a mac to make the Rstudio copy of pandoc accessible at the terminal line?

Resources