How to install GraphViz on Azure Synapse Analytics to use in python notebooks

Abdelrahman (Abdo) Mohamed 10 Reputation points Microsoft Employee

Hey! I am trying to install GraphViz so that I can start plotting some graphs in a python notebook in our Azure Synapse Analytics space. I managed to install the pypi package but I also need to install the system executable. What would be the best way to do so ? I have tried running User's image

but I needed sudo access so I have tried User's image

but it doesn't seem that this supported either. Can you point me in the right direction on how to install the executable so I can use graphviz ? A lot of libraries rely on it as a backend so it's currently blocking multiple scenarios for our team. Thanks in advance for your help!

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,473 questions
{count} vote

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 79,551 Reputation points Microsoft Employee

    Abdelrahman (Abdo) Mohamed
    - Thanks for the question and using MS Q&A platform.

    You can use pip and %pip commands to manage libraries in the Notebook code cells.

    User's image

    For more details, refer to Manage libraries for Apache Spark in Azure Synapse Analytics.
    Hope this helps. Do let us know if you any further queries.