-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find model 'fr_core_news_sm' #35
Comments
OK, I found out by searching for this name "fr_core_news_sm" here on GIThub : now it's working ok |
Still, I am not 100% happy
|
trying to use the other example given = trying to use the melt_tagger, I have the following error, please advise: python3 testleff3.py |
I had t use chown on /usr/local/lib/python3.8/dist-packages/spacy_lefff/data |
hello,
Regarding your permission error, it is because you should use a virtual environment and not your default python since the package downloads the model and writes to a system folder, which you can't access. |
In case you use french follow these steps : ##################################### setp 1 : this comment is for people who will have the same error in the future! |
Hello ! just starting to explore spacy-leff : I have been trying to run the examples given here and on spacy.io
but I stumble on the same error. See below.
I assume it's a simple one, but I did not find help for this in the available documentation (I may not be good at looking at the right place though...).
I intend to use specy-leff, to replace MElt perl utilities, for our bamanan-french parallel corpus. Bamanan or bambara is a language spoken in west africa. See http://cormand.huma-num.fr/
Thanks for help with this...
Jean-Jacques
python3 testleff2.py
Traceback (most recent call last):
File "testleff2.py", line 9, in
nlp = spacy.load('fr_core_news_sm')
File "/usr/local/lib/python3.8/dist-packages/spacy/init.py", line 47, in load
return util.load_model(name, disable=disable, exclude=exclude, config=config)
File "/usr/local/lib/python3.8/dist-packages/spacy/util.py", line 329, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'fr_core_news_sm'. It doesn't seem to be a Python package or a valid path to a data directory.
The text was updated successfully, but these errors were encountered: