Hello, guys please help me if possible, i need to export my work assignement to pdf to be able to submit it, but it doesn't work, it says internal server error becasue pandoc wasn't found but when i check in my python it says it was installed and if i try to import it in my notebook it still works
#π Can't export notebook to pdf in jupyter ? I have the modules installed
56 messages Β· Page 1 of 1 (latest)
@hushed latch
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
Try conda install -c conda-forge pandoc
this is from the official pandoc website
@hushed latch
i don't have conda
How did you install pandoc?
py -m pip install pandoc
Do you have chocolatey?
nope no idea what that is ?
winget install --source winget --exact --id JohnMacFarlane.Pandoc
Again, straight from the website
this is to be run in a console
yes figured
i am sorry
i spent 1 hour scrolling github and youtube for solutions and didnj't think to look there π
No problem
I'm just saying from the website to show Im not trying to give you a virus or something
still doesn't work however
Did winget work?
the command worker
worked
it installed
i restyarted jupyterlab
but still can't export
Same page?
What
Restart computer maybe?
sure
brb$
i mean
at least it's not the same error anymore
the new one is scarier π
looks like im missing some latex packages
i am following instructions
thanks for trying to help me !
I found a temporary solution if anyone ever finds this thread
you can download as html
then try to print
and then save as pdf
be sure to double check the results cause sometimes the formatting just goes way off for some reason
yeah the code is aids and some latex equations got screwed
I emailed my professor the notebook with apologies and explaining the problem
i think he will be understanding coz it's not really my fault
converting to pdf is such a bish sometimes
latex
I think in the past I had the experience of something something using-xelatex-as-the-pdf-engine and it was better
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.