The following worked for me conda install conda-forge::pygraphviz with python version 3.9
conda install conda-forge::pygraphviz