I was trying to import spaCy because I wanted to remove stop words. When I tried running the import line, it gave me the error mentioned in the title.
I had installed spacy
using
python -m pip install spacy
because pip install spacy
gave me an error saying:
Fatal error in launcher: Unable to create process using '"c:\users\nikun\appdata\local\programs\python\python39\python.exe" "C:\Users\nikun\AppData\Local\Programs\Python\Python39\Scripts\pip.exe" install spacy': The system cannot find the file specified.
How do I fix this so that it imports spacy without error? I would appreciate any help and am new to coding so please forgive for any silly errors I am making.
You just need to run the following line on the command prompt:
python -m pip install msvc-runtime
Then the error goes away