Skip to content

Pandoc package requires explicit installation #30

@nblettner

Description

@nblettner

I encountered an issue when getting started to contribute. Following the workflow for contributing an error was raised when executing nox -s docs -- --serve (same for nox -s docs).  Part of the error message was:

nbconvert.utils.pandoc.PandocMissing: Pandoc wasn't found.

That is, pandoc is not installed automatically based on the current setup. Instead, pandoc needs to be installed separately, and this installation is essentially only possible via conda (see pandoc project description). It might not be important in which environment it is installed, and the issue may go unnoticed if you happen to have had it installed before. Also, when executed online, no error is raised, presumably  because pandoc is part of the image that is used for the container in which the code runs for the build of the docs on readthedocs.org.

For developing, it seems like the use of conda and an explicit installation of pandoc is required. The workflow for contributing needs to be adjusted accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationautomation of testing, linting, releasing etcbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions