Error failed building wheel for pygraphviz

Collecting pygraphviz Using cached pygraphviz-1.5.zip (117 kB) Building wheels for collected packages: pygraphviz Building wheel for pygraphviz (setup.py) ... error ERROR: Command errored out with ...

It seems I have a similar thing.
pip install pygraphviz on Anaconda and on the Windows 10 CMD delivers:

Collecting pygraphviz
Using cached pygraphviz-1.5.zip (117 kB)
Building wheels for collected packages: pygraphviz
Note: you may need to restart the kernel to use updated packages.
ERROR: Command errored out with exit status 1:
command: ‘E:ProgrammeAnaconda3envstensflow20python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphvizsetup.py'»‘»‘; file='»‘»‘C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphvizsetup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ bdist_wheel -d ‘C:UsersMICHAE1AppDataLocalTemppip-wheel-e2oux6ll’
cwd: C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphviz
Complete output (54 lines):
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win-amd64-3.7
creating buildlib.win-amd64-3.7pygraphviz
copying pygraphvizagraph.py -> buildlib.win-amd64-3.7pygraphviz
Building wheel for pygraphviz (setup.py): started
Building wheel for pygraphviz (setup.py): finished with status ‘error’
Running setup.py clean for pygraphviz
Failed to build pygraphviz
Installing collected packages: pygraphviz
Running setup.py install for pygraphviz: started
Running setup.py install for pygraphviz: finished with status ‘error’

copying pygraphvizgraphviz.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizrelease.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizversion.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphviz_init_.py -> buildlib.win-amd64-3.7pygraphviz
creating buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_attributes.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_attribute_defaults.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_clear.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_drawing.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_edge_attributes.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_graph.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_html.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_layout.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_node_attributes.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_readwrite.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_setup.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_string.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_subgraph.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_unicode.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphviztests_init_.py -> buildlib.win-amd64-3.7pygraphviztests
running egg_info
writing pygraphviz.egg-infoPKG-INFO
writing dependency_links to pygraphviz.egg-infodependency_links.txt
writing top-level names to pygraphviz.egg-infotop_level.txt
reading manifest file ‘pygraphviz.egg-infoSOURCES.txt’
reading manifest template ‘MANIFEST.in’
warning: no files found matching ‘.png’ under directory ‘doc’
warning: no files found matching ‘
.html’ under directory ‘doc’
warning: no files found matching ‘.txt’ under directory ‘doc’
warning: no files found matching ‘
.css’ under directory ‘doc’
warning: no previously-included files matching ‘~’ found anywhere in distribution
warning: no previously-included files matching ‘
.pyc’ found anywhere in distribution
warning: no previously-included files matching ‘.svn’ found anywhere in distribution
no previously-included directories found matching ‘docbuild’
writing manifest file ‘pygraphviz.egg-infoSOURCES.txt’
copying pygraphvizgraphviz.i -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizgraphviz_wrap.c -> buildlib.win-amd64-3.7pygraphviz
running build_ext
building ‘pygraphviz._graphviz’ extension
creating buildtemp.win-amd64-3.7
creating buildtemp.win-amd64-3.7Release
creating buildtemp.win-amd64-3.7Releasepygraphviz
C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:ProgrammeAnaconda3envstensflow20include -IE:ProgrammeAnaconda3envstensflow20include «-IC:Program Files (x86)Microsoft Visual Studio 14.0VCINCLUDE» «-IC:Program Files (x86)Microsoft Visual Studio 14.0VCATLMFCINCLUDE» «-IC:Program Files (x86)Windows Kits10include10.0.10240.0ucrt» /Tcpygraphviz/graphviz_wrap.c /Fobuildtemp.win-amd64-3.7Releasepygraphviz/graphviz_wrap.obj
graphviz_wrap.c
e:programmeanaconda3envstensflow20includepyconfig.h(215): fatal error C1083: Datei (Include) kann nicht geöffnet werden: «basetsd.h»: No such file or directory
error: command ‘C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe’ failed with exit status 2

ERROR: Failed building wheel for pygraphviz
ERROR: Command errored out with exit status 1:
command: ‘E:ProgrammeAnaconda3envstensflow20python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphvizsetup.py'»‘»‘; file='»‘»‘C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphvizsetup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ install —record ‘C:UsersMICHAE1AppDataLocalTemppip-record-9eovqarqinstall-record.txt’ —single-version-externally-managed —compile —install-headers ‘E:ProgrammeAnaconda3envstensflow20Includepygraphviz’
cwd: C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphviz
Complete output (56 lines):
running install
include_dirs=None
library_dirs=None
running build
running build_py
creating build
creating buildlib.win-amd64-3.7
creating buildlib.win-amd64-3.7pygraphviz
copying pygraphvizagraph.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizgraphviz.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizrelease.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizversion.py -> buildlib.win-amd64-3.7pygraphviz
copying pygraphviz_init_.py -> buildlib.win-amd64-3.7pygraphviz
creating buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_attributes.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_attribute_defaults.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_clear.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_drawing.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_edge_attributes.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_graph.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_html.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_layout.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_node_attributes.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_readwrite.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_setup.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_string.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_subgraph.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphvizteststest_unicode.py -> buildlib.win-amd64-3.7pygraphviztests
copying pygraphviztests_init_.py -> buildlib.win-amd64-3.7pygraphviztests
running egg_info
writing pygraphviz.egg-infoPKG-INFO
writing dependency_links to pygraphviz.egg-infodependency_links.txt
writing top-level names to pygraphviz.egg-infotop_level.txt
reading manifest file ‘pygraphviz.egg-infoSOURCES.txt’
reading manifest template ‘MANIFEST.in’
warning: no files found matching ‘.png’ under directory ‘doc’
warning: no files found matching ‘
.html’ under directory ‘doc’
warning: no files found matching ‘.txt’ under directory ‘doc’
warning: no files found matching ‘
.css’ under directory ‘doc’
warning: no previously-included files matching ‘~’ found anywhere in distribution
warning: no previously-included files matching ‘
.pyc’ found anywhere in distribution
warning: no previously-included files matching ‘.svn’ found anywhere in distribution
no previously-included directories found matching ‘docbuild’
writing manifest file ‘pygraphviz.egg-infoSOURCES.txt’
copying pygraphvizgraphviz.i -> buildlib.win-amd64-3.7pygraphviz
copying pygraphvizgraphviz_wrap.c -> buildlib.win-amd64-3.7pygraphviz
running build_ext
building ‘pygraphviz._graphviz’ extension
creating buildtemp.win-amd64-3.7
creating buildtemp.win-amd64-3.7Release
creating buildtemp.win-amd64-3.7Releasepygraphviz
C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:ProgrammeAnaconda3envstensflow20include -IE:ProgrammeAnaconda3envstensflow20include «-IC:Program Files (x86)Microsoft Visual Studio 14.0VCINCLUDE» «-IC:Program Files (x86)Microsoft Visual Studio 14.0VCATLMFCINCLUDE» «-IC:Program Files (x86)Windows Kits10include10.0.10240.0ucrt» /Tcpygraphviz/graphviz_wrap.c /Fobuildtemp.win-amd64-3.7Releasepygraphviz/graphviz_wrap.obj
graphviz_wrap.c
e:programmeanaconda3envstensflow20includepyconfig.h(215): fatal error C1083: Datei (Include) kann nicht geöffnet werden: «basetsd.h»: No such file or directory
error: command ‘C:Program Files (x86)Microsoft Visual Studio 14.0VCBINx86_amd64cl.exe’ failed with exit status 2
—————————————-
ERROR: Command errored out with exit status 1: ‘E:ProgrammeAnaconda3envstensflow20python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphvizsetup.py'»‘»‘; file='»‘»‘C:UsersMICHAE1AppDataLocalTemppip-install-n4do7jpipygraphvizsetup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ install —record ‘C:UsersMICHAE~1AppDataLocalTemppip-record-9eovqarqinstall-record.txt’ —single-version-externally-managed —compile —install-headers ‘E:ProgrammeAnaconda3envstensflow20Includepygraphviz’ Check the logs for full command output.

First I got some message to install MS VC++ built tools. I did this and 3,4 GByte later it changed to this message. I tried a lot according to hints at StackOverflow etc. but nothing worked successful.

Содержание

  1. Error on install of pygraphviz #207
  2. Comments
  3. failed building wheel for pygraphviz #163
  4. Comments
  5. Not able to install pygraphviz #156
  6. Comments
  7. Unhelpful Error Message on Install #192
  8. Comments
  9. Environment:
  10. Footer

Error on install of pygraphviz #207

I’m having trouble installing pygraphviz using pip. The specific errors I’m getting are:

error: command ‘C:Program Files (x86)Microsoft Visual Studio2019CommunityVCToolsMSVC14.24.28314binHostX86x86cl.exe’ failed with exit status 2

ERROR: Command errored out with exit status 1: ‘c:usersadminappdatalocalprogramspythonpython38-32python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersAdminAppDataLocalTemppip-install-xr2cxn6tpygraphvizsetup.py’»‘»‘; file=’»‘»‘C:UsersAdminAppDataLocalTemppip-install-xr2cxn6tpygraphvizsetup.py’»‘»‘;f=getattr(tokenize, ‘»‘»‘open’»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn’»‘»‘, ‘»‘»‘n’»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec’»‘»‘))’ install —record ‘C:UsersAdminAppDataLocalTemppip-record-464u_dncinstall-record.txt’ —single-version-externally-managed —compile Check the logs for full command output.

Any idea on how to fix this?

The text was updated successfully, but these errors were encountered:

Not enough information. Please run pip install -vvv pygraphviz and paste the full log.

Not enough information. Please run pip install -vvv pygraphviz and paste the full log.

C:>pip install -vvv pygraphviz
Created temporary directory: C:UsersAdminAppDataLocalTemppip-ephem-wheel-cache-4ehmtk0n
Created temporary directory: C:UsersAdminAppDataLocalTemppip-req-tracker-sr135kq_
Created requirements tracker ‘C:UsersAdminAppDataLocalTemppip-req-tracker-sr135kq_’
Created temporary directory: C:UsersAdminAppDataLocalTemppip-install-j2_h3p8r
1 location(s) to search for versions of pygraphviz:

Источник

failed building wheel for pygraphviz #163

Hello,
I tried installing pygraphviz using the comand pip3 install git+git://github.com/pygraphviz/pygraphviz.git but it raises
`
Collecting git+git://github.com/pygraphviz/pygraphviz.git
Cloning git://github.com/pygraphviz/pygraphviz.git to c:userskaoutherappdatalocaltemppip-req-build-3w79axlv
Building wheels for collected packages: pygraphviz
Running setup.py bdist_wheel for pygraphviz . error
Complete output from command C:UsersKAOUTHERPycharmProjectschatbotvenvScriptspython.exe -u -c «import setuptools, tokenize;file=’C:UsersKAOUTHERAppDa
taLocalTemppip-req-build-3w79axlvsetup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, file
, ‘exec’))» bdist_wheel -d C:UsersKAOUTHERAppDataLocalTemppip-wheel-vg5o6x6n —python-tag cp36:
C:UsersKAOUTHERPycharmProjectschatbotvenvlibsite-packagessetuptools-39.1.0-py3.6.eggsetuptoolsdist.py:388: UserWarning: Normalizing ‘1.5.dev’ to ‘1.5.dev0’
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win-amd64-3.6
creating buildlib.win-amd64-3.6pygraphviz
copying pygraphvizagraph.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizgraphviz.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizrelease.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizversion.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphviz_init_.py -> buildlib.win-amd64-3.6pygraphviz
creating buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_attributes.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_attribute_defaults.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_clear.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_drawing.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_edge_attributes.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_graph.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_html.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_layout.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_node_attributes.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_readwrite.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_setup.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_string.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_subgraph.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_unicode.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphviztests_init_.py -> buildlib.win-amd64-3.6pygraphviztests
running egg_info
creating pygraphviz.egg-info
writing pygraphviz.egg-infoPKG-INFO
writing dependency_links to pygraphviz.egg-infodependency_links.txt
writing top-level names to pygraphviz.egg-infotop_level.txt
writing manifest file ‘pygraphviz.egg-infoSOURCES.txt’
reading manifest file ‘pygraphviz.egg-infoSOURCES.txt’
reading manifest template ‘MANIFEST.in’
warning: no previously-included files matching ‘

‘ found anywhere in distribution
warning: no previously-included files matching ‘.pyc’ found anywhere in distribution
warning: no previously-included files matching ‘.svn’ found anywhere in distribution
no previously-included directories found matching ‘docbuild’
writing manifest file ‘pygraphviz.egg-infoSOURCES.txt’
copying pygraphvizgraphviz.i -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizgraphviz_wrap.c -> buildlib.win-amd64-3.6pygraphviz
running build_ext
building ‘pygraphviz._graphviz’ extension
creating buildtemp.win-amd64-3.6
creating buildtemp.win-amd64-3.6Release
creating buildtemp.win-amd64-3.6Releasepygraphviz
C:Program Files (x86)Microsoft Visual Studio2017BuildToolsVCToolsMSVC14.14.26428binHostX86x64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:UsersKAOUTHE
RPycharmProjectschatbotvenvinclude -IC:UsersKAOUTHERAnaconda3include -IC:UsersKAOUTHERAnaconda3include «-IC:Program Files (x86)Microsoft Visual Studio201
7BuildToolsVCToolsMSVC14.14.26428include» «-IC:Program Files (x86)Windows Kits10include10.0.17134.0ucrt» «-IC:Program Files (x86)Windows Kits10include1
0.0.17134.0shared» «-IC:Program Files (x86)Windows Kits10include10.0.17134.0um» «-IC:Program Files (x86)Windows Kits10include10.0.17134.0winrt» «-IC:Progr
am Files (x86)Windows Kits10include10.0.17134.0cppwinrt» /Tcpygraphviz/graphviz_wrap.c /Fobuildtemp.win-amd64-3.6Releasepygraphviz/graphviz_wrap.obj
graphviz_wrap.c
pygraphviz/graphviz_wrap.c(2987): fatal error C1083: Impossible d’ouvrir le fichier includeÿ: ‘graphviz/cgraph.h’ÿ: No such file or directory
error: command ‘C:Program Files (x86)Microsoft Visual Studio2017BuildToolsVCToolsMSVC14.14.26428binHostX86x64cl.exe’ failed with exit status 2

Failed building wheel for pygraphviz
Running setup.py clean for pygraphviz
Failed to build pygraphviz
Installing collected packages: pygraphviz
Running setup.py install for pygraphviz . error
Complete output from command C:UsersKAOUTHERPycharmProjectschatbotvenvScriptspython.exe -u -c «import setuptools, tokenize;file=’C:UsersKAOUTHERApp
DataLocalTemppip-req-build-3w79axlvsetup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, __file
, ‘exec’))» install —record C:UsersKAOUTHERAppDataLocalTemppip-record-c0zdl1xfinstall-record.txt —single-version-externally-managed —compile —install-heade
rs C:UsersKAOUTHERPycharmProjectschatbotvenvincludesitepython3.6pygraphviz:
C:UsersKAOUTHERPycharmProjectschatbotvenvlibsite-packagessetuptools-39.1.0-py3.6.eggsetuptoolsdist.py:388: UserWarning: Normalizing ‘1.5.dev’ to ‘1.5.dev0

running install
include_dirs=None
library_dirs=None
running build
running build_py
creating build
creating buildlib.win-amd64-3.6
creating buildlib.win-amd64-3.6pygraphviz
copying pygraphvizagraph.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizgraphviz.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizrelease.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizversion.py -> buildlib.win-amd64-3.6pygraphviz
copying pygraphviz_init
.py -> buildlib.win-amd64-3.6pygraphviz
creating buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_attributes.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_attribute_defaults.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_clear.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_drawing.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_edge_attributes.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_graph.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_html.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_layout.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_node_attributes.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_readwrite.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_setup.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_string.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_subgraph.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphvizteststest_unicode.py -> buildlib.win-amd64-3.6pygraphviztests
copying pygraphviztests_init
.py -> buildlib.win-amd64-3.6pygraphviztests
running egg_info
writing pygraphviz.egg-infoPKG-INFO
writing dependency_links to pygraphviz.egg-infodependency_links.txt
writing top-level names to pygraphviz.egg-infotop_level.txt
reading manifest file ‘pygraphviz.egg-infoSOURCES.txt’
reading manifest template ‘MANIFEST.in’
warning: no previously-included files matching ‘

‘ found anywhere in distribution
warning: no previously-included files matching ‘.pyc’ found anywhere in distribution
warning: no previously-included files matching ‘.svn’ found anywhere in distribution
no previously-included directories found matching ‘docbuild’
writing manifest file ‘pygraphviz.egg-infoSOURCES.txt’
copying pygraphvizgraphviz.i -> buildlib.win-amd64-3.6pygraphviz
copying pygraphvizgraphviz_wrap.c -> buildlib.win-amd64-3.6pygraphviz
running build_ext
building ‘pygraphviz._graphviz’ extension
creating buildtemp.win-amd64-3.6
creating buildtemp.win-amd64-3.6Release
creating buildtemp.win-amd64-3.6Releasepygraphviz
C:Program Files (x86)Microsoft Visual Studio2017BuildToolsVCToolsMSVC14.14.26428binHostX86x64cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:UsersKAOUT
HERPycharmProjectschatbotvenvinclude -IC:UsersKAOUTHERAnaconda3include -IC:UsersKAOUTHERAnaconda3include «-IC:Program Files (x86)Microsoft Visual Studio2
017BuildToolsVCToolsMSVC14.14.26428include» «-IC:Program Files (x86)Windows Kits10include10.0.17134.0ucrt» «-IC:Program Files (x86)Windows Kits10include
10.0.17134.0shared» «-IC:Program Files (x86)Windows Kits10include10.0.17134.0um» «-IC:Program Files (x86)Windows Kits10include10.0.17134.0winrt» «-IC:Pro
gram Files (x86)Windows Kits10include10.0.17134.0cppwinrt» /Tcpygraphviz/graphviz_wrap.c /Fobuildtemp.win-amd64-3.6Releasepygraphviz/graphviz_wrap.obj
graphviz_wrap.c
pygraphviz/graphviz_wrap.c(2987): fatal error C1083: Impossible d’ouvrir le fichier includeÿ: ‘graphviz/cgraph.h’ÿ: No such file or directory
error: command ‘C:Program Files (x86)Microsoft Visual Studio2017BuildToolsVCToolsMSVC14.14.26428binHostX86x64cl.exe’ failed with exit status
2

`
I am using Anaconda python 3 under Windows 10
Any idea?

The text was updated successfully, but these errors were encountered:

Источник

Not able to install pygraphviz #156

I am not able to install pygraphviz on windows 10 64 bit

I am running pip install —global-option=build_ext —global-option=»-IC:Program FilesGraphviz2.38include» —global-option=»-LC:Program FilesGraphviz2.38libreleaselib» pygraphviz

The text was updated successfully, but these errors were encountered:

Same thing with me. trying to use networkx which uses graphviz. I have graphviz installed. I have spent the whole day trying to resolve this.
OS: win 10
Py: 3.65

I have tried this
Python37-32Scripts>pip install git+https://github.com/pygraphviz/pygraphviz.git —install-option=»—include-path=C:/Program Files (x86)/Graphviz2.38/include» —install-option=»—library-path=C:/Program Files (x86)/Graphviz2.38/lib/release/lib»

Which solved the problems with the include and lib files but now I am getting this

graphviz_wrap.obj : error LNK2001: unresolved external symbol _PyIOBase_Type
buildlib.win32-3.7pygraphviz_graphviz.cp37-win32.pyd : fatal error LNK1120: 1 unresolved externals
error: command ‘C:Program Files (x86)Microsoft Visual Studio 14.0VCBINlink.exe’ failed with exit status 1120

The only reference to the above issue is a patch mentioned at the end of this thread

I have no idea how to apply that patch on Windows

Источник

Unhelpful Error Message on Install #192

Environment:

First i installed graphviz using pacman

While installing pygraphviz via pip

I got the following error message

The text was updated successfully, but these errors were encountered:

I performed a full system upgrade, rebooted and re-installed both and it happened to fix the issue

however I came across a similar error when I install pygraphviz before graphviz
and I think that should give a more helpful error message such as
Error Occurred! Make sure you have graphviz installed first

Installing pygraphviz without having graphviz previously installed gives

‘ found anywhere in distribution warning: no previously-included files matching ‘*.pyc’ found anywhere in distribution warning: no previously-included files matching ‘.svn’ found anywhere in distribution no previously-included directories found matching ‘doc/build’ writing manifest file ‘pygraphviz.egg-info/SOURCES.txt’ copying pygraphviz/graphviz.i -> build/lib.linux-x86_64-3.7/pygraphviz copying pygraphviz/graphviz_wrap.c -> build/lib.linux-x86_64-3.7/pygraphviz running build_ext building ‘pygraphviz._graphviz’ extension creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/pygraphviz gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.7m -c pygraphviz/graphviz_wrap.c -o build/temp.linux-x86_64-3.7/pygraphviz/graphviz_wrap.o pygraphviz/graphviz_wrap.c:2987:10: fatal error: graphviz/cgraph.h: No such file or directory #include «graphviz/cgraph.h» ^

compilation terminated. error: command ‘gcc’ failed with exit status 1 —————————————- Failed building wheel for pygraphviz Running setup.py clean for pygraphviz Failed to build pygraphviz Installing collected packages: pygraphviz Running setup.py install for pygraphviz . error Complete output from command /usr/bin/python -u -c «import setuptools, tokenize;__file__=’/tmp/pip-install-kd2ae_w7/pygraphviz/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, __file__, ‘exec’))» install —record /tmp/pip-record-ade7kch2/install-record.txt —single-version-externally-managed —compile: running install Trying dpkg Failed to find dpkg Trying pkg-config Package libcgraph was not found in the pkg-config search path. Perhaps you should add the directory containing `libcgraph.pc’ to the PKG_CONFIG_PATH environment variable Package ‘libcgraph’, required by ‘virtual:world’, not found Traceback (most recent call last): File » «, line 1, in File «/tmp/pip-install-kd2ae_w7/pygraphviz/setup.py», line 93, in tests_require=[‘nose>=1.3.7’, ‘doctest-ignore-unicode>=0.1.2’, ‘mock>=2.0.0’], File «/usr/lib/python3.7/site-packages/setuptools/__init__.py», line 145, in setup return distutils.core.setup(**attrs) File «/usr/lib/python3.7/distutils/core.py», line 148, in setup dist.run_commands() File «/usr/lib/python3.7/distutils/dist.py», line 966, in run_commands self.run_command(cmd) File «/usr/lib/python3.7/distutils/dist.py», line 985, in run_command cmd_obj.run() File «/tmp/pip-install-kd2ae_w7/pygraphviz/setup_commands.py», line 44, in modified_run self.include_path, self.library_path = get_graphviz_dirs() File «/tmp/pip-install-kd2ae_w7/pygraphviz/setup_extra.py», line 162, in get_graphviz_dirs include_dirs, library_dirs = _try_configure(include_dirs, library_dirs, _pkg_config) File «/tmp/pip-install-kd2ae_w7/pygraphviz/setup_extra.py», line 117, in _try_configure i, l = try_function() File «/tmp/pip-install-kd2ae_w7/pygraphviz/setup_extra.py», line 72, in _pkg_config output = S.check_output([‘pkg-config’, ‘—libs-only-L’, ‘libcgraph’]) File «/usr/lib/python3.7/subprocess.py», line 395, in check_output **kwargs).stdout File «/usr/lib/python3.7/subprocess.py», line 487, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command ‘[‘pkg-config’, ‘—libs-only-L’, ‘libcgraph’]’ returned non-zero exit status 1. —————————————- Command «/usr/bin/python -u -c «import setuptools, tokenize;__file__=’/tmp/pip-install-kd2ae_w7/pygraphviz/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘rn’, ‘n’);f.close();exec(compile(code, __file__, ‘exec’))» install —record /tmp/pip-record-ade7kch2/install-record.txt —single-version-externally-managed —compile» failed with error code 1 in /tmp/pip-install-kd2ae_w7/pygraphviz/»>

This problem does occur when graphviz is not installed first. But it also occurs whenever it can’t find the libcgraph package. That can happen when graphviz is installed somewhere that PKG_CONFIG_PATH doesn’t help find. So, the error message given is reasonable: it suggests that you add the location of ‘libcgraph.pc’ to the PKG_CONFIG_PATH. In doing so, you will determine that libcgraph.pc is not installed and thus that graphviz has not been installed. Putting a more descriptive error message is beyond the scope of pygraphviz as far as I know.

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Skip to content



Open


Issue created Jun 09, 2022 by Gustavo Leite@leitegMaintainer

Add `pygraphviz` as optional dependency

Summary

Installation of OMPCBench fails in some environments when installing the pygraphviz dependency. Some header files realted to GraphViz are not found.

Stack Trace

Below is the installation log provided by @guilherme.valarini via Slack.

Building wheels for collected packages: pygraphviz                                                                                                                                                                                                             
  Building wheel for pygraphviz (setup.py) ... error                                                                                                                                                                                                           
  ERROR: Command errored out with exit status 1:                                                                                                                                                                                                               
   command: /prj/parceirosbr/guilherme.valarini/programs/miniconda3/envs/ompcbench/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rl3yq_x2/pygraphviz_41f4b7faa84d4b0d9b2857dd35841b5c/setup.py'"'"'; __file__
='"'"'/tmp/pip-install-rl3yq_x2/pygraphviz_41f4b7faa84d4b0d9b2857dd35841b5c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().r
eplace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-mllcq7o2                                                                                                                           
       cwd: /tmp/pip-install-rl3yq_x2/pygraphviz_41f4b7faa84d4b0d9b2857dd35841b5c/                                                                                                                                                                             
  Complete output (57 lines):                                                                                                                                                                                                                                  
  running bdist_wheel                                                                                                                                                                                                                                          
  running build                                                                                                                                                                                                                                                
  running build_py
  creating build                                                                                                                                                                                                                                               
  creating build/lib.linux-x86_64-3.10                                                                                                                                                                                                                         
  creating build/lib.linux-x86_64-3.10/pygraphviz                                                                                                                                                                                                              
  copying pygraphviz/scraper.py -> build/lib.linux-x86_64-3.10/pygraphviz                                                                                                                                                                                      
  copying pygraphviz/testing.py -> build/lib.linux-x86_64-3.10/pygraphviz                                                                                                                                                                                      
  copying pygraphviz/graphviz.py -> build/lib.linux-x86_64-3.10/pygraphviz                                                                                                                                                                                     
  copying pygraphviz/agraph.py -> build/lib.linux-x86_64-3.10/pygraphviz                                                                                                                                                                                       
  copying pygraphviz/__init__.py -> build/lib.linux-x86_64-3.10/pygraphviz                                                                                                                                                                                     
  creating build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                                                                                                                                        
  copying pygraphviz/tests/test_attribute_defaults.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                                                                                          
  copying pygraphviz/tests/test_subgraph.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                    
  copying pygraphviz/tests/test_readwrite.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                   
  copying pygraphviz/tests/test_unicode.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                     
  copying pygraphviz/tests/test_drawing.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                     
  copying pygraphviz/tests/test_string.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                      
  copying pygraphviz/tests/test_close.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                       
  copying pygraphviz/tests/test_scraper.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests                                                                                     
  copying pygraphviz/tests/test_repr_mimebundle.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/test_edge_attributes.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/test_graph.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/test_html.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/test_clear.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/__init__.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/test_node_attributes.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  copying pygraphviz/tests/test_layout.py -> build/lib.linux-x86_64-3.10/pygraphviz/tests
  running egg_info                                             
  writing pygraphviz.egg-info/PKG-INFO
  writing dependency_links to pygraphviz.egg-info/dependency_links.txt
  writing top-level names to pygraphviz.egg-info/top_level.txt
  reading manifest file 'pygraphviz.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.png' under directory 'doc'
  warning: no files found matching '*.txt' under directory 'doc'
  warning: no files found matching '*.css' under directory 'doc'
  warning: no previously-included files matching '*~' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '.svn' found anywhere in distribution
  no previously-included directories found matching 'doc/build' 
  adding license file 'LICENSE'
  writing manifest file 'pygraphviz.egg-info/SOURCES.txt'
  copying pygraphviz/graphviz.i -> build/lib.linux-x86_64-3.10/pygraphviz
  copying pygraphviz/graphviz_wrap.c -> build/lib.linux-x86_64-3.10/pygraphviz
  running build_ext                                            
  building 'pygraphviz._graphviz' extension
  creating build/temp.linux-x86_64-3.10
  creating build/temp.linux-x86_64-3.10/pygraphviz
  gcc -pthread -B /prj/parceirosbr/guilherme.valarini/programs/miniconda3/envs/ompcbench/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -O2 -isystem /prj/parceirosbr/guilherme.valarini/programs/miniconda3/envs/ompcbe
nch/include -fPIC -O2 -isystem /prj/parceirosbr/guilherme.valarini/programs/miniconda3/envs/ompcbench/include -fPIC -I/prj/parceirosbr/guilherme.valarini/programs/miniconda3/envs/ompcbench/include/python3.10 -c pygraphviz/graphviz_wrap.c -o build/temp.lin
ux-x86_64-3.10/pygraphviz/graphviz_wrap.o
  In file included from /usr/include/graphviz/gvc.h:17:0,
                   from pygraphviz/graphviz_wrap.c:2712:
  /usr/include/graphviz/types.h:49:20: fatal error: cgraph.h: No such file or directory
   #include <cgraph.h>                                         
                      ^                                        
  compilation terminated.                                      
  error: command '/usr/bin/gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for pygraphviz

Steps to reproduce

Run the installation producedure at Santos Dumont cluster:

Related Issues:

У меня возникают проблемы при установке PyGraphviz.
Я использую Anaconda в Mac OS X.

Сообщения об ошибках указывают на некоторые причины, но я уже проверил, что он установлен в каталоге anaconda.

Sundongui-MacBook-Pro:site-packages sundong$ pwd
/Users/sundong/anaconda/lib/python2.7/site-packages
Sundongui-MacBook-Pro:site-packages sundong$ pip install graphviz --upgrade
Requirement already up-to-date: graphviz in /Users/sundong/anaconda/lib/python2.7/site-packages

В соответствии с сообщениями об ошибках, как изменить переменные include_dirs и library_dirs в файле setup.py??

Вот сообщение об ошибке, которое я встречаю

Sundongui-MacBook-Pro:anaconda sundong$ pip install pygraphviz
Collecting pygraphviz
  Using cached pygraphviz-1.3.1.tar.gz
Building wheels for collected packages: pygraphviz
  Running setup.py bdist_wheel for pygraphviz
  Complete output from command /Users/sundong/anaconda/bin/python -c "import setuptools;__file__='/private/var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/pip-build-bLb4AR/pygraphviz/setup.py';exec(compile(open(__file__).read().replace('rn', 'n'), __file__, 'exec'))" bdist_wheel -d /var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/tmpwR_08Dpip-wheel-:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.5-x86_64-2.7
  creating build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  copying pygraphviz/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  copying pygraphviz/agraph.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  copying pygraphviz/graphviz.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  copying pygraphviz/release.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  copying pygraphviz/version.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  creating build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_attribute_defaults.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_attributes.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_clear.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_drawing.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_edge_attributes.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_graph.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_html.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_layout.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_node_attributes.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_readwrite.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_string.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_subgraph.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  copying pygraphviz/tests/test_unicode.py -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz/tests
  running egg_info
  writing pygraphviz.egg-info/PKG-INFO
  writing top-level names to pygraphviz.egg-info/top_level.txt
  writing dependency_links to pygraphviz.egg-info/dependency_links.txt
  warning: manifest_maker: standard file '-c' not found

  reading manifest file 'pygraphviz.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no previously-included files matching '*~' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '.svn' found anywhere in distribution
  no previously-included directories found matching 'doc/build'
  writing manifest file 'pygraphviz.egg-info/SOURCES.txt'
  copying pygraphviz/graphviz.i -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  copying pygraphviz/graphviz_wrap.c -> build/lib.macosx-10.5-x86_64-2.7/pygraphviz
  running build_ext
  building 'pygraphviz._graphviz' extension
  creating build/temp.macosx-10.5-x86_64-2.7
  creating build/temp.macosx-10.5-x86_64-2.7/pygraphviz
  gcc -fno-strict-aliasing -I/Users/sundong/anaconda/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/sundong/anaconda/include/python2.7 -c pygraphviz/graphviz_wrap.c -o build/temp.macosx-10.5-x86_64-2.7/pygraphviz/graphviz_wrap.o
  pygraphviz/graphviz_wrap.c:2954:10: fatal error: 'graphviz/cgraph.h' file not found
  #include "graphviz/cgraph.h"
           ^
  1 error generated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for pygraphviz
Failed to build pygraphviz
Installing collected packages: pygraphviz
  Running setup.py install for pygraphviz
    Complete output from command /Users/sundong/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/pip-build-bLb4AR/pygraphviz/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/pip-qgosXm-record/install-record.txt --single-version-externally-managed --compile:
    running install
    Trying pkg-config
    Failed to find pkg-config
    Trying dotneato-config
    Failed to find dotneato-config
    Failed to find dotneato-config

    Your Graphviz installation could not be found.

            1) You don't have Graphviz installed:
               Install Graphviz (http://graphviz.org)

            2) Your Graphviz package might incomplete.
               Install the binary development subpackage (e.g. libgraphviz-dev or similar.)

            3) You are using Windows
               There are no PyGraphviz binary packages for Windows but you might be
               able to build it from this source.  See
               http://networkx.lanl.gov/pygraphviz/reference/faq.html

            If you think your installation is correct you will need to manually
            change the include_dirs and library_dirs variables in setup.py to
            point to the correct locations of your graphviz installation.

            The current setting of library_dirs and include_dirs is:
    library_dirs=None
    include_dirs=None

    error: Error locating graphviz.

    ----------------------------------------
Command "/Users/sundong/anaconda/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/pip-build-bLb4AR/pygraphviz/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('rn', 'n'), __file__, 'exec'))" install --record /var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/pip-qgosXm-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/p6/rjy4tf353bzfy7gsl5jn_yvc0000gn/T/pip-build-bLb4AR/pygraphviz

Понравилась статья? Поделить с друзьями:
  • Error failed building wheel for pycuda
  • Error explicit specialization in non namespace scope
  • Error failed building wheel for pycrypto
  • Error expired multiplayer object has been used
  • Error failed building wheel for pycairo