pip 安装pygraphviz报出cgraph.h找不到的问题,ubuntu有pygraphviz-dev包,opensuse要使用pygraphviz-devel包
1 | (v_python3.6) htf@linux-rzt3:/tmp> pip install pygraphviz |
1 | (v_python3.6) htf@linux-rzt3:/tmp> sudo zypper install graphviz-devel |
再次安装成功
1 | (sce) htf@linux-rzt3:~/pyproject/sce/ser_con_evo/pip_download> pip install pygraphviz-1.3.1.zip |