Python错误:'gcc'未被识别为内部或外部命令

时间:2016-05-14 00:44:22

标签: python gcc anaconda

我正在尝试将Zhang-Suen thinning algorithm应用于指纹识别系统。但是我得到了这个错误:

'gcc' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
  File "newff.py", line 69, in <module>
    sk = thinning(bn);
  File "newff.py", line 47, in thinning
    dst = _thinningIteration(dst, 0)
  File "newff.py", line 37, in _thinningIteration
    weave.inline(expr, ["I", "iter", "M"])
  File "E:\Anaconda2\Lib\site-packages\scipy\weave\inline_tools.py", line 366, i
n inline
    **kw)
  File "E:\Anaconda2\Lib\site-packages\scipy\weave\inline_tools.py", line 496, i
n compile_function
    verbose=verbose, **kw)
  File "E:\Anaconda2\Lib\site-packages\scipy\weave\ext_tools.py", line 373, in c
ompile
    verbose=verbose, **kw)
  File "E:\Anaconda2\Lib\site-packages\scipy\weave\build_tools.py", line 279, in
 build_extension
    setup(name=module_name, ext_modules=[ext],verbose=verb)
  File "E:\Anaconda2\Lib\site-packages\numpy\distutils\core.py", line 169, in se
tup
    return old_setup(**new_attr)
  File "c:\Python27\lib\distutils\core.py", line 159, in setup
    raise SystemExit, "error: %s" % (exc,)
distutils.errors.CompileError: error: [Error 2] The system cannot find the file
specified

我到处搜索,但我发现之前没有发现同样的问题。

0 个答案:

没有答案