From fefde8aef88cbfb13cb1f0bfcd3ac476ad7a903c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 23 Oct 2016 19:46:44 +0200 Subject: [PATCH] Make installation print data path. --- spacy/download.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacy/download.py b/spacy/download.py index 1af97eb76..ce998fbba 100644 --- a/spacy/download.py +++ b/spacy/download.py @@ -7,6 +7,7 @@ from sputnik.package_list import (PackageNotFoundException, CompatiblePackageNotFoundException) from . import about +from . import util def download(lang, force=False, fail_on_exist=True): @@ -34,4 +35,5 @@ def download(lang, force=False, fail_on_exist=True): "spacy.%s.download --force'." % lang, file=sys.stderr) sys.exit(1) - print("Model successfully installed.", file=sys.stderr) + data_path = util.get_data_path() + print("Model successfully installed to %s" % data_path, file=sys.stderr)