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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -