asciidoctor / asciidoctor-diagram

:left_right_arrow: Asciidoctor diagram extension, with support for AsciiToSVG, BlockDiag (BlockDiag, SeqDiag, ActDiag, NwDiag), Ditaa, Erd, GraphViz, Mermaid, Msc, PlantUML, Shaape, SvgBob, Syntrax, UMLet, Vega, Vega-Lite and WaveDrom.
http://asciidoctor.org
MIT License
444 stars 109 forks source link

Failed to generate image: Could not find the 'blockdiag', 'blockdiag3' executable in PATH; #462

Closed ioannisstavrakakis closed 6 months ago

ioannisstavrakakis commented 6 months ago

In Windows, when executing asciidoctor-pdf, I het the following error message:

  WARNING: The script blockdiag.exe is installed in 'C:\Users\istavrak\AppData\Roaming\Python\Python312\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
  WARNING: The scripts nwdiag.exe, packetdiag.exe and rackdiag.exe are installed in 'C:\Users\istavrak\AppData\Roaming\Python\Python312\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

The files under the Scripts folder are:

image

How can I add it to PATH? Is is a system or a user variable? What name should I give to variable, and which value?

Thank you

pepijnve commented 6 months ago

This is a Python installation/configuration issue. See https://superuser.com/questions/1372793/the-script-is-installed-in-directory-which-is-not-path for ways to resolve this.