0

I am trying to import en_core_web_sm as independent package and also tried through spacy. But I am getting an error in ujson module in both case.

Error :

ModuleNotFoundError: No module named 'srsly.ujson.ujson'

I installed en_core_web_sm through following command

python -m spacy download en_core_web_sm

Going by Spacy documentation it shall work. But it is not. I want to import en_core_web_sm.

questionasker
  • 2,536
  • 12
  • 55
  • 119
Anroop
  • 41
  • 4

1 Answers1

0

srsly listed as a dependency so it should be installed. If it's not installed just install it yourself:

python -m pip install srsly
phd
  • 82,685
  • 13
  • 120
  • 165