Forums

Trying to use Spacy NLP logic, but getting error

Trying to run the basic spacy example from here: https://spacy.io/

Gives me this error below:

Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.

-- On my own computer, I was able to fix this by finding the directory under /Library that had the library. Yet, on PythonAnywhere, after installing "en_core_web_sm", I don't seem to have access to installed folders?

How do I overcome this issue?

Thanks!

How did you download en_core_web_sm? I followed this documentation and it worked fine for me.

It's working now. Thank you!!!

Glad to hear that!

Appreciate your help and reply! :)