-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Model installation problem and wrong error message #946
Comments
Hey – sorry, I think you've accidentally installed the old version v1.6 that doesn't yet use the new download commands. The latest version 1.7+ is not on conda yet (see #923), but we're working on that. In the meantime, you can always use pip to install the latest version: pip install -U spacy |
I just checked again and I misread your issue, sorry. Turns out I got confused by the conda badge that still lists version 1.6. The new version should be up and you've probably downloaded it correctly. You can make sure it downloads the latest version using this command: conda install -c conda-forge spacy=1.7.3 Your problem seems to be that you've used the old download commands to download the models. As of 1.7+, models can be downloaded like this:
For more info on this, see the models documentation. Edit: I also just noticed that the error message still lists the wrong download command. This is bad, sorry – will fix this! |
Hello thanks for the answer.
and
it says linking successful but after restarting Spyder I still get the above errors. Is there anything else to do to make it work? Thanks |
Could you show us the output of
|
yup!
|
I'm seeing the exact same issue as @randomgambit . A workaround that I've found is to import the model like this:
|
workaround works for me! |
This sounds a lot like the problem described in #934. Especially since you're on Windows + Python 2, and also got the For Windows and Python 2, spaCy uses The fix is already on master, so if you build from source, it'll likely solve this issue. Otherwise, importing models as modules as described above should always work. We tried to make sure spaCy never fully relies on the |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hello there,
Thanks for this wonderful package. I am using Anaconda on a windows 64 machine, and I have a hard time installing it and using it. I ran
and I also ran
python -m spacy.en.download all
Now, if I use the two-liner available on your website, I get an error
and
gives
Any ideas?
Thanks!!
The text was updated successfully, but these errors were encountered: