question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Creating documentation latex files fails (Python 3.5)

See original GitHub issue

Please add a code sample or a nbviewer link, copy-pastable if possible

cd ./docs
make latex

Problem description

Instead of creating the tex files the following happens:

sphinx-build -b latex -d _build/doctrees   . _build/latex
Running Sphinx v1.8.1

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/XXXXXXXXX/.local/lib/python3.5/site-packages/sphinx/config.py", line 368, in eval_config_file
    execfile_(filename, namespace)
  File "/XXXXXXXXX/.local/lib/python3.5/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "/YYYYYYYYY/folium/folium/docs/conf.py", line 52, in <module>
    from folium._version import get_versions
ImportError: No module named 'folium'

Makefile:99: recipe for target 'latex' failed
make: *** [latex] Error 2

Expected Output

Nice latex files which I could use for creating a PDF.

Output of folium.__version__

 0.6.0+30.g9f648a2.dirty'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Conengmocommented, Oct 15, 2018

Seems like a fairly simple change. If you open a PR we’ll review it, see if there are no side effects in the CI.

0reactions
1kastnercommented, Oct 15, 2018

See #990

Read more comments on GitHub >

github_iconTop Results From Across the Web

Latex Makefile does not respect latex_additional_files in conf.py
Problem. The Sphinx documentation actually suggests that using latex_additional_files and latex_elements with 'preamble': r'\input{mycommands.  ...
Read more >
Error when using the python package - LaTeX Stack Exchange
Open the python.sty and make sure that the path to python.exe is the correct one. – Philipp. Apr 30, 2012 ...
Read more >
PyLaTeX Tutorial Generating Error: [WinError 2] - Stack Overflow
I am trying to run a tutorial for PyLaTeX in Python 3.5. I am using Anaconda / Spyder. When it runs the command...
Read more >
Sphinx Documentation - Read the Docs
How do I generate PDF documents? make latexpdf runs the LaTeX builder and readily invokes the pdfTeX toolchain for you.
Read more >
Configuration Files — Binder 0.1b documentation
Configuration Files#. repo2docker looks for configuration files in the repository being built to determine how to build it. In general, repo2docker uses the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found