Installation Trouble: [E049] Can't find spaCy data directory: 'None'. #10329
-
Hi All, I am very new to this so would really need any guidance on help on below issue: Background: pip install spacy All of these were executed fine and then imported spacy and load language model. First line to import spacy worked fine whereas for load language model generated below error import spacy [E049] Can't find spaCy data directory: 'None'. Check your installation and permissions, or use spacy.util.set_data_path to customise the location if necessary. Can anyone help me what I am missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry you're having trouble with this. You generally don't want to download pretrained pipelines directly, instead you should use the I'm not exactly sure why you're getting the error you have, but it may be due to some kind of version mismatch. |
Beta Was this translation helpful? Give feedback.
Sorry you're having trouble with this.
You generally don't want to download pretrained pipelines directly, instead you should use the
spacy download
command to get the right version and get everything set up correctly. You can find the exact commands to install spaCy for your OS and environment on the install page. Can you try following the instructions there? If they don't work let us know.I'm not exactly sure why you're getting the error you have, but it may be due to some kind of version mismatch.