Open Emasoft opened 1 year ago
It's probably the same issue as: https://github.com/holzschu/Carnets/issues/164
pip install graphviz
works, in the sense that it installs the python package graphviz
; but the python package uses the graphviz
commands (such as dot
) and these are not installed (they cannot be installed, since there are no compilers on iOS).
I see. That is a pity. Graphviz is a very useful lib. What about WASM? I don't know anything about WASM, but I understand that it should be possible to compile graphviz in wasm. I found these examples: https://www.npmjs.com/package/@hpcc-js/wasm https://github.com/fabiospampinato/graphviz-wasm https://github.com/JosephusPaye/node-graphviz I'm not sure that the above include the dot tool. Is there any hope to run a WASM version of the dot command in a-Shell?
I got trouble with the graphviz python library. Apparently graphviz should be already included in a-Shell. When I try to install it, it says 'Requirements already satisfied'. But when I try to use the main command line tool of graphviz, 'dot', it says that it does't find it. I even installed pydot separately, but the result is the same.
Even if I try to use graphviz in my code as a library, it gives me this error:
Any clue?