Forum Discussion
Support for GraphViz in Fabric Notebook
- Anonymous1 year ago
Hi AleisterTJMraz ,
Thanks for reaching out to the Microsoft fabric community forum.
Tried to pip install graphviz in my Fabric NotebookSo as you can see from the shared images graphviz successfully got installed and got imported into fabric.
The error you're encountering isn't due to a lack of Graphviz support in Fabric, but rather it's caused by this specific line in your code:graphviz.Digraph('structs', filename='structs_revisited.gv', node_attr={'shape': 'record'})in your cell. Pyspark is not able to find structs_revisited.gv file.
Please modify the code in such a way that pyspark is able to retieve the file information, so as to bypass the error.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thank you
Hi AleisterTJMraz ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Thanks and regards