Skip to content

Commit

Permalink
Better error related to Theanogh-3376
Browse files Browse the repository at this point in the history
  • Loading branch information
nouiz committed May 17, 2016
1 parent 59ae8de commit 68dff1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions theano/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 68dff1c

Please sign in to comment.