explicit check for python 3
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
+import sys
+
+if sys.version_info < (3,0):
+ raise RuntimeError('ParlAI requires Python 3.')
