{"action":"created","issue":{"url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/40","repository_url":"https://api.github.com/repos/pygraphviz/pygraphviz","labels_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/40/comments","events_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/40/events","html_url":"https://github.com/pygraphviz/pygraphviz/issues/40","id":50121200,"number":40,"title":"Installation:fatal error: 'graphviz/cgraph.h' file not found","user":{"login":"pkuwalter","id":6846891,"avatar_url":"https://avatars.githubusercontent.com/u/6846891?v=3","gravatar_id":"","url":"https://api.github.com/users/pkuwalter","html_url":"https://github.com/pkuwalter","followers_url":"https://api.github.com/users/pkuwalter/followers","following_url":"https://api.github.com/users/pkuwalter/following{/other_user}","gists_url":"https://api.github.com/users/pkuwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/pkuwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkuwalter/subscriptions","organizations_url":"https://api.github.com/users/pkuwalter/orgs","repos_url":"https://api.github.com/users/pkuwalter/repos","events_url":"https://api.github.com/users/pkuwalter/events{/privacy}","received_events_url":"https://api.github.com/users/pkuwalter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pygraphviz/pygraphviz/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pygraphviz/pygraphviz/milestones/1","html_url":"https://github.com/pygraphviz/pygraphviz/milestones/pygraphivz-1.3","labels_url":"https://api.github.com/repos/pygraphviz/pygraphviz/milestones/1/labels","id":670066,"number":1,"title":"pygraphivz-1.3","description":"Support for Python3.\r\n","creator":{"login":"hagberg","id":187875,"avatar_url":"https://avatars.githubusercontent.com/u/187875?v=3","gravatar_id":"","url":"https://api.github.com/users/hagberg","html_url":"https://github.com/hagberg","followers_url":"https://api.github.com/users/hagberg/followers","following_url":"https://api.github.com/users/hagberg/following{/other_user}","gists_url":"https://api.github.com/users/hagberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hagberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagberg/subscriptions","organizations_url":"https://api.github.com/users/hagberg/orgs","repos_url":"https://api.github.com/users/hagberg/repos","events_url":"https://api.github.com/users/hagberg/events{/privacy}","received_events_url":"https://api.github.com/users/hagberg/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":56,"state":"open","created_at":"2014-05-25T16:01:37Z","updated_at":"2015-09-05T22:14:31Z","due_on":"2014-06-02T07:00:00Z","closed_at":null},"comments":12,"created_at":"2014-11-26T05:51:12Z","updated_at":"2016-06-17T18:19:18Z","closed_at":"2015-05-21T15:10:06Z","body":"I use Windoews 7 OS\r\nand python 3.4.2\r\nI run the code:\r\npython setup.py install \r\n\r\nBut it cause the error：\r\nD:\\pygraphviz-master>python setup.py install\r\nlibrary_dirs=None\r\ninclude_dirs=None\r\nrunning install\r\nrunning bdist_egg\r\nrunning egg_info\r\nwriting top-level names to pygraphviz.egg-info\\top_level.txt\r\nwriting dependency_links to pygraphviz.egg-info\\dependency_links.txt\r\nwriting pygraphviz.egg-info\\PKG-INFO\r\nreading manifest file 'pygraphviz.egg-info\\SOURCES.txt'\r\nreading manifest template 'MANIFEST.in'\r\nwarning: no previously-included files matching '*~' found anywhere in distributi\r\non\r\nwarning: no previously-included files matching '*.pyc' found anywhere in distrib\r\nution\r\nwarning: no previously-included files matching '.svn' found anywhere in distribu\r\ntion\r\nno previously-included directories found matching 'doc\\build'\r\nwriting manifest file 'pygraphviz.egg-info\\SOURCES.txt'\r\ninstalling library code to build\\bdist.win32\\egg\r\nrunning install_lib\r\nrunning build_py\r\nrunning build_ext\r\nbuilding 'pygraphviz._graphviz' extension\r\nD:\\mingw-get\\bin\\gcc.exe -mdll -O -Wall -DGVDLL -ID:\\Python34\\include -ID:\\Pytho\r\nn34\\include -c pygraphviz/graphviz_wrap.c -o build\\temp.win32-3.4\\Release\\pygrap\r\nhviz\\graphviz_wrap.o\r\npygraphviz/graphviz_wrap.c:2954:29: fatal error: graphviz/cgraph.h: No such file\r\n or directory\r\n #include \"graphviz/cgraph.h\"\r\n                             ^\r\ncompilation terminated.\r\nerror: command 'D:\\\\mingw-get\\\\bin\\\\gcc.exe' failed with exit status 1"},"comment":{"url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/comments/226843400","html_url":"https://github.com/pygraphviz/pygraphviz/issues/40#issuecomment-226843400","issue_url":"https://api.github.com/repos/pygraphviz/pygraphviz/issues/40","id":226843400,"user":{"login":"mbdevpl","id":1270332,"avatar_url":"https://avatars.githubusercontent.com/u/1270332?v=3","gravatar_id":"","url":"https://api.github.com/users/mbdevpl","html_url":"https://github.com/mbdevpl","followers_url":"https://api.github.com/users/mbdevpl/followers","following_url":"https://api.github.com/users/mbdevpl/following{/other_user}","gists_url":"https://api.github.com/users/mbdevpl/gists{/gist_id}","starred_url":"https://api.github.com/users/mbdevpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbdevpl/subscriptions","organizations_url":"https://api.github.com/users/mbdevpl/orgs","repos_url":"https://api.github.com/users/mbdevpl/repos","events_url":"https://api.github.com/users/mbdevpl/events{/privacy}","received_events_url":"https://api.github.com/users/mbdevpl/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T18:19:18Z","updated_at":"2016-06-17T18:19:18Z","body":"I partially figured it out. I can almost install using below command:\r\n```\r\npython -m pip install pygraphviz --install-option=\"--include-path=C:\\Programs\\Graphviz2.38\\include\" --install-option=\"--library-path=C:\\Programs\\Graphviz2.38\\lib\\release\\lib\"\r\n```\r\nThese flags resolve the missing graphviz files issues, but the end result is 50 \"unresolved external symbol\" errors:\r\n```\r\n    C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\\Programs\\Graphviz2.38\\include -IC:\\Programs\\Python35\\include -IC:\\Programs\\Python35\\include \"-IC:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\INCLUDE\" \"-IC:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\ATLMFC\\INCLUDE\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.10586.0\\ucrt\" \"-IC:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\include\\um\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.10586.0\\shared\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.10586.0\\um\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.10586.0\\winrt\" /Tcpygraphviz/graphviz_wrap.c /Fobuild\\temp.win-amd64-3.5\\Release\\pygraphviz/graphviz_wrap.obj\r\n    graphviz_wrap.c\r\n    pygraphviz/graphviz_wrap.c(3295): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data\r\n    pygraphviz/graphviz_wrap.c(3313): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data\r\n    pygraphviz/graphviz_wrap.c(3321): warning C4047: 'return': 'int' differs in levels of indirection from 'Agsym_t *'\r\n    C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\\Programs\\Graphviz2.38\\lib\\release\\lib /LIBPATH:C:\\Programs\\Python35\\libs /LIBPATH:C:\\Programs\\Python35\\PCbuild\\amd64 \"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\LIB\\amd64\" \"/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\ATLMFC\\LIB\\amd64\" \"/LIBPATH:C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.10586.0\\ucrt\\x64\" \"/LIBPATH:C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\lib\\um\\x64\" \"/LIBPATH:C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.10586.0\\um\\x64\" cgraph.lib cdt.lib /EXPORT:PyInit__graphviz build\\temp.win-amd64-3.5\\Release\\pygraphviz/graphviz_wrap.obj /OUT:build\\lib.win-amd64-3.5\\pygraphviz\\_graphviz.cp35-win_amd64.pyd /IMPLIB:build\\temp.win-amd64-3.5\\Release\\pygraphviz\\_graphviz.cp35-win_amd64.lib\r\n    graphviz_wrap.obj : warning LNK4197: export 'PyInit__graphviz' specified multiple times; using first specification\r\n       Creating library build\\temp.win-amd64-3.5\\Release\\pygraphviz\\_graphviz.cp35-win_amd64.lib and object build\\temp.win-amd64-3.5\\Release\\pygraphviz\\_graphviz.cp35-win_amd64.exp\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agwrite\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agisdirected\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agopen\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agraphof\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnxtin\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol aglstnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agedge\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agsubedge\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agisundirected\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnxtnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agidnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnxtsubg\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agisstrict\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agattrsym\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agfstin\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agattr\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agstrdup_html\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol Agdirected\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnameof\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agfstnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agget\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agdegree\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agfstedge\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agdelsubg\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agdelnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnxtattr\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agread\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agparent\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agxset\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agclose\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agidedge\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agroot\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agfstsubg\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agdeledge\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnnodes\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol Agundirected\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agxget\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agsubnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnxtedge\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agsubg\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnedges\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agset\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agfstout\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agsafeset\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agprvnode\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol Agstrictundirected\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol PyIOBase_Type\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol agnxtout\r\n    graphviz_wrap.obj : error LNK2001: unresolved external symbol Agstrictdirected\r\n    build\\lib.win-amd64-3.5\\pygraphviz\\_graphviz.cp35-win_amd64.pyd : fatal error LNK1120: 50 unresolved externals\r\n    error: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio 14.0\\\\VC\\\\BIN\\\\amd64\\\\link.exe' failed with exit status 1120\r\n```"}}
{"actor":{"display_login":"mbdevpl"}}