在Python3.6上安装pygraphviz(win10,anaconda)

时间:2018-03-21 02:55:29

标签: python-3.6 pygraphviz

我在安装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失败

0 个答案:

没有答案