提交 341ac436 authored 作者: Frederic Bastien's avatar Frederic Bastien

Better error related to gh-3376

上级 59ae8de8
...@@ -21,6 +21,14 @@ which may be rendered with Sphinx. A rendered version is ...@@ -21,6 +21,14 @@ which may be rendered with Sphinx. A rendered version is
maintained at http://www.deeplearning.net/software/theano/library/ maintained at http://www.deeplearning.net/software/theano/library/
""" """
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.")
from __future__ import absolute_import, print_function, division from __future__ import absolute_import, print_function, division
__docformat__ = "restructuredtext en" __docformat__ = "restructuredtext en"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论