提交 7098e758 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Merge pull request #4525 from nouiz/win_py35

Better error related to gh-3376
......@@ -29,6 +29,12 @@ __docformat__ = "restructuredtext en"
# theano code, since this code may want to log some messages.
import logging
import sys
if sys.platform == 'win32' and sys.version_info[0:2] == (3, 5):
raise RuntimeError(
"Theano do not support Python 3.5 on Windows. Use Python 2.7 or 3.4.")
theano_logger = logging.getLogger("theano")
logging_default_handler = logging.StreamHandler()
logging_default_formatter = logging.Formatter(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论