Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Package under Windows with Anaconda Python fails #23

@DavidLP

Description

@DavidLP

Although pdflatex is added to the path variable I cannot get this package to work under Windows 10. The traceback when running the example is:

(base) C:\Users\David\git\latex>python sample_test.py
Traceback (most recent call last):
  File "sample_test.py", line 3, in <module>
    r = build_pdf(open('sample.latex'))
  File "C:\Users\David\git\latex\latex\build.py", line 232, in build_pdf
    return builder.build_pdf(source, texinputs)
  File "<decorator-gen-1>", line 2, in build_pdf
  File "C:\Users\David\Miniconda2\lib\site-packages\data\decorators.py", line 82, in _
    return f(*bvals.args, **bvals.kwargs)
  File "C:\Users\David\git\latex\latex\build.py", line 113, in build_pdf
    raise_from(LatexBuildError(base_fn + '.log'), e)
  File "C:\Users\David\Miniconda2\lib\site-packages\future-0.16.0-py2.7.egg\future\utils\__init__.py", line 454, in raise_from
    raise e
latex.exc.LatexBuildError: None

My environment:

  • Windows 10
  • Anaconda Python 2.7.15
  • pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6800 64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions