我在安装pygraphviz时遇到问题,我尝试了几种方法但没有成功
1.> pip install pygraphviz
为pygraphviz运行setup.py bdist_wheel ...错误 pygraphviz失败的构建轮 为pygraphviz运行setup.py install ...错误
2.> pip install pygraphviz-1.3.1-cp34-none-win_amd64.whl
pygraphviz-1.3.1-cp34-none-win_amd64.whl在此平台上不受支持。
3.> pip install pygraphviz-1.4rc1.tar.gz
为pygraphviz运行setup.py bdist_wheel ...错误 pygraphviz失败的构建轮 为pygraphviz运行setup.py install ...错误
4.> python setup.py install --include-path = / usr / local / Cellar / graphviz / 2.38.0 / include / graphviz --library-path = / usr / local / Cellar / graphviz / 2.38 0.0 / lib中
'graphviz / cgraph.h':没有这样的文件或目录 错误:命令'C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ VC \ Tools \ MSVC \ 14.13.26128 \ bin \ HostX86 \ x64 \ cl.exe'以退出状态2失败