提交 87c8145f authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #1621 from nouiz/py24

fix crash in python 2.4 due to missing import
...@@ -24,7 +24,7 @@ except ImportError: ...@@ -24,7 +24,7 @@ except ImportError:
import numpy.distutils # TODO: TensorType should handle this import numpy.distutils # TODO: TensorType should handle this
import theano import theano
from theano.compat import PY3, next, decode, decode_iter from theano.compat import any, PY3, next, decode, decode_iter
from theano.compat.six import BytesIO, StringIO from theano.compat.six import BytesIO, StringIO
from theano.gof.utils import flatten from theano.gof.utils import flatten
from theano.configparser import config from theano.configparser import config
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论