Installing PyGraphViz on Windows, Python 2.7

只谈情不闲聊 提交于 2019-12-04 14:03:26

The error is due to a bug in Python distutils library. Edit your "C:\Python27\lib\distutils\unixccompiler.py" file (line 285, in runtime_library_dir_option) and change

compiler = os.path.basename(sysconfig.get_config_var("CC"))

to

compiler = 'gcc'

Don't forget to change it back after you've managed to install pygraphviz :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!