From 1a53fcc685f9cd1584339105e50514a7520bf08c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 18 Mar 2017 18:14:03 +0100 Subject: [PATCH] Fix CLI for Python 2 --- spacy/__main__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spacy/__main__.py b/spacy/__main__.py index b252c4a44..9addbccde 100644 --- a/spacy/__main__.py +++ b/spacy/__main__.py @@ -1,5 +1,8 @@ # coding: utf8 -from __future__ import unicode_literals, print_function +# +from __future__ import print_function +# NB! This breaks in plac on Python 2!! +#from __future__ import unicode_literals, import plac from spacy.cli import download as cli_download