Julia Markdown: Error converting document to pdf. Try running latex manually

I have been using Weave to generate PDFs from Julia markdown, but it is not working.

If I run

using Weave
weave(“gadfly_md_sample.jmd”; doctype=“md2pdf”, latex_cmd=“pdflatex”)
I get the following warning:

WARNING: Error converting document to pdf. Try running latex manually
I have tried running latex manually, but this doesn’t work.

Any ideas why this isn’t working for me?

Thanks in advance

Could be of a missing ‘pygmentize’ python script. I had this issue as well, but I don’t have access to my machines at the moment to check.

I have been having the same problem. Weave works for me sometimes, but it seems to depend on my current working directory, but I don’t think it should depend on that.