-
-
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
ImportError: cannot import name 'GoldCorpus' #1953
Comments
Hmm. I'd say this is either a problem with 3.4, or some sort of more general installation error. If you |
|
This is interesting – did you previously have spaCy v1.x installed? Judging by the files and directories here, you seem to have a mix of spaCy v1.x and spaCy v2.0 in there. (For example, there's both the individual language directories like It's possible that this is also what causes the problem. It's still kinda mysterious how this happened, but I guess the best solution is probably to uninstall spaCy and start again in a fresh environment. |
I did not. |
Yeah, even if you did end up installing both spaCys, I would have expected pip to at least clean up properly. Anyway, I hope it all worked correctly after a fresh install! |
Now I have different errors:
I am going to give it another reinstall |
seems like 3rd time is the charm |
Sorted, soon other issues but they'll get their own threads |
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. |
Having just installed spacy,
I can't seem to do anything as trying to import the package immediately throws the error:
ImportError: cannot import name 'GoldCorpus'
For example:
Or trying to use on the commandline:
Your Environment
Operating System:
Python Version Used: Python 3.4.2 (default, Oct 8 2014, 10:45:20)
spaCy Version Used: 2.07
The text was updated successfully, but these errors were encountered: