SpaCy OSError: Can't find model 'en'

前端 未结 12 1558
夕颜
夕颜 2020-12-23 16:11

even though I downloaded the model it cannot load it

[jalal@goku entity-sentiment-analysis]$ which python
/scratch/sjn/anaconda/bin/python
[jalal@goku entity         


        
12条回答
  •  天涯浪人
    2020-12-23 16:51

    oh well. turns out even though my which python was showing anaconda python, when I was using python download it was linking it to python2.7 local on my machine. I fixed it using below command:

    $ sudo /scratch/sjn/anaconda/bin/python -m spacy download en
    

提交回复
热议问题