python 3.x - Unable to load 'en' from spacy in jupyter notebook -
i run following lines of code in jupyter notebook:
import spacy nlp = spacy.load('en') and following error:
warning: no model found 'en_default' loading 'en' tokenizer. i using python 3.5.3, spacy 1.9.0, , jupyter notebook 5.0.0. downloaded spacy using conda install spacy , python3 spacy install en. able import spacy , load 'en' terminal not jupyter notebook.
based on answer in comments, seems clear 2 python interpreters jupyter , system python not same, , therefore not have shared libraries between them.
i recommend re-running installation or installation en tool in correct spacy. replace path full path file, if above not full path.
//anaconda/envs/capstone/bin/python -m spacy download that should enough. let me know if there issues.
Comments
Post a Comment