Skip to content

Can't run the build command on MacOS #4

@fabriceci

Description

@fabriceci

Hi, I’m started to learn python few days ago, so sorry if my question is a bit silly.

I’m on mac, I tried to install the project (I would like to write my python learning note with the template :) )

I use virtualenv, installed requirements and pandoc.

My pandoc version is 2.6 (pandoc -v)
My python version is 3.7.2

If I launch the build command, I have the following error:

Traceback (most recent call last):
  File "build", line 527, in <module>
    _check_pandoc()
  File "build", line 511, in _check_pandoc
    raise Exception('Unable to determine pandoc version.')
Exception: Unable to determine pandoc version.

The method does not detect the command correctly. I tested to command the block, and If I rerun I have another one:

/usr/local/bin/pandoc -f markdown+line_blocks+escaped_line_breaks+smart+fenced_code_blocks+fenced_code_attributes+backtick_code_blocks+yaml_metadata_block  -F scripts/pandoc-filter.py -F pandoc-citeproc -F scripts/plantuml-filter.py --standalone  -t html -B tmp/body_include.html --self-contained --css=files/html.css -H files/head_include.html -o book.html tmp/preprocessed/metadata.yaml tmp/preprocessed/copyright.md tmp/preprocessed/dedication.md tmp/preprocessed/foreward.md tmp/preprocessed/preface.md tmp/preprocessed/prologue.md tmp/preprocessed/chapter-01.md tmp/preprocessed/chapter-02.md tmp/preprocessed/epilogue.md tmp/preprocessed/acknowledgments.md tmp/preprocessed/appendix-a.md tmp/preprocessed/appendix-b.md tmp/preprocessed/glossary.md tmp/preprocessed/author.md tmp/preprocessed/references.md
Traceback (most recent call last):
  File "./scripts/plantuml-filter.py", line 22, in <module>
    COMMAND = find_in_path("plantuml")
  File "./lib/__init__.py", line 327, in find_in_path
    raise OSError("""Can't find "{0}" in PATH.""".format(command))
OSError: Can't find "plantuml" in PATH.
Error running filter scripts/plantuml-filter.py:
Filter returned error status 1

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