From 68dff1c4c427ad0cf030dcc6bb8e46f23511261c Mon Sep 17 00:00:00 2001 From: Frederic Bastien Date: Tue, 17 May 2016 12:10:21 -0400 Subject: [PATCH] Better error related to gh-3376 --- theano/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/theano/__init__.py b/theano/__init__.py index 85f20a7b8e0..99ae4613d35 100644 --- a/theano/__init__.py +++ b/theano/__init__.py @@ -21,6 +21,14 @@ 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 __docformat__ = "restructuredtext en"