pythongraph
发布时间: 2024-10-29 19:14:44
⑴ python怎样导入graphcut
1. 修改文件unixcompiler.py,(“C:\python27\lib\distutils\unixcompiler.py”)如下:
old: compiler = os.path.basename(sysconfig.get_config_var(“CC”))
new: compiler = “gcc”
2. 修改setup.py,
library_path=r’E\Graphviz\lib\release\lib’
include_path=r’E\Graphviz\include\graphviz’
或
library_path=r’E\Graphviz\bin’
include_path=r’E\Graphviz\include’
热点内容