问题描述
- anconda下import theano出错
- 我在window下安装了anconda,mingw,libpython和theano用conda list都可以看到,可是在ipython下import theano出现如下错误
Exception Traceback (most recent call last)
in ()
----> 1 import theanoD:Program FilesAnaconda2libsite-packagestheano__init__.pyc in ()
61 object2 utils)
62
---> 63 from theano.compile import (
64 SymbolicInput In
65 SymbolicOutput OutD:Program FilesAnaconda2libsite-packagestheanocompile__init__.py in ()
7 SpecifyShape specify_shape register_specify_shape_c_code)
8
----> 9 from theano.compile.function_module import *
10
11 from theano.compile.mode import *D:Program FilesAnaconda2libsite-packagestheanocompilefunction_module.py in ()
20 from theano.compat import izip
21 from theano.gof import graph
---> 22 import theano.compile.mode
23 from theano.compile.io import (
24 In SymbolicInput SymbolicInputKit SymbolicOutput)D:Program FilesAnaconda2libsite-packagestheanocompilemode.py in ()
10 import theano
11 from theano import gof
---> 12 import theano.gof.vm
13 from theano.configparser import config
14 from theano.compile.ops import _output_guardD:Program FilesAnaconda2libsite-packagestheanogofvm.py in ()
636
637 try:
--> 638 from . import lazylinker_c
639
640 class CVM(lazylinker_c.CLazyLinker VM):D:Program FilesAnaconda2libsite-packagestheanogoflazylinker_c.py in ()
124 args = cmodule.GCC_compiler.compile_args()
125 cmodule.GCC_compiler.compile_str(dirname code location=loc
--> 126 preargs=args)
127 # Save version into the init.py file.
128 init_py = os.path.join(loc '__init__.py')D:Program FilesAnaconda2libsite-packagestheanogofcmodule.pyc in compile_str(module_name src_code location include_dirs lib_dirs libs preargs py_module hide_symbols)
2194 # difficult to read.
2195 raise Exception('Compilation failed (return status=%s): %s' %
-> 2196 (status compile_stderr.replace('n' '. ')))
2197 elif config.cmodule.compilation_warning and compile_stderr:
2198 # Print errors just below the command line.. ception: Compilation failed (return status=1): g++.exe: error: FilesAnaconda2MinGW: No such file or directory
哪位大侠能帮我看下什么问题?谢谢