From 6b9b444065288879aa2bea8f4c3bb7e1f59210a6 Mon Sep 17 00:00:00 2001 From: ines Date: Sat, 18 Mar 2017 12:59:41 +0100 Subject: [PATCH] Fix imports --- spacy/download.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spacy/download.py b/spacy/download.py index 99280d7ed..b4034ea61 100644 --- a/spacy/download.py +++ b/spacy/download.py @@ -4,8 +4,8 @@ from __future__ import unicode_literals import pip import plac import requests -from os import path -from .link import link, link_package +import os +from .link import link_package from . import about from . import util @@ -59,7 +59,7 @@ def get_version(model, comp): def download_model(filename): util.print_msg("Downloading {f}".format(f=filename)) - download_url = path.join(about.__download_url__, filename) + download_url = os.path.join(about.__download_url__, filename) pip.main(['install', download_url])