且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Windows 10 64bit上安装pygraphviz

更新时间:2023-02-23 23:08:55

从这里开始阅读
https://github.com/pygraphviz/pygraphviz/issues/58

在该页面的底部,有一个指向Github中x64 zip文件的链接(例如
解包后会创建一个与之对应的程序文件x64文件的文件夹并将其放置在其中

At the bottom of that page there is a link to a x64 zip file in Github (like this) Unpack that create a the coresponding Program Files folder for your x64 file and put them there

然后使用此文件进行安装

Then install using this

pip install --global-option=build_ext --global-option="-IC:\Program Files\Graphviz2.38\include" --global-option="-LC:\Program Files\Graphviz2.38\lib\release\lib" pygraphviz