1

I am following the spaCy installation guideline inside my AWS SageMaker notebook

pip install -U pip setuptools wheel
pip install -U spacy
python -m spacy download en_core_web_sm

When I do import spacy I get error

ModuleNotFoundError: No module named 'spacy' 

I made sure my python and spacy path are same

What am I missing? enter image description here

nad
  • 2,348
  • 8
  • 44
  • 80
  • Did you restart your kernel after installing spaCy? – polm23 Oct 26 '21 at 03:28
  • @polm23 I did but same issue – nad Oct 26 '21 at 15:49
  • If you use `import sys` like at the question linked here, is the path the same as the one `which` gives? https://stackoverflow.com/questions/2589711/find-full-path-of-the-python-interpreter – polm23 Oct 27 '21 at 06:28

0 Answers0