-
Notifications
You must be signed in to change notification settings - Fork 478
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
Unable to import modules #59
Comments
I tried downgrading spaCy to version 2.0.0 and got a slightly different value error
|
I think i also experienced that problem when I tried upgrading from 2.0 in 3.0 in another environment. in another clean virtual environment spacy keeps telling me I can't find the module and if I try to import it direcly it tells me "ImportError: cannot import name 'load_model_from_init_py'" |
Did an extra run to check if interpreter and right pip was used within conda and got the same message: "ValueError: spacy.strings.StringStore has the wrong size, try recompiling. Expected 88, got 112" |
Hey! However I managed to get this working yesterday with the most recent version of spaCy and neuralcoref models (and |
Hi, yes also running on a mac and was unable to use en_coref_sm or en_coref_md inside newly created conda environments, tried different versions of spacy. I gave it another try just now to see,
During Pip install I get two red lines
when i try to run, when it loads the model into spacy or when I import the module directly I get:
|
Interesting, thanks. |
I did this in a clean environment via pip initially.. |
Thank you, It is working and it is quick! Amazing work |
Happy to hear that.
|
@BBCMax if you still have the problem try reinstalling a clean version of NeuralCoref like this: pip install --upgrade --force-reinstall --no-cache-dir MODEL_URL |
Thanks @thomwolf - all ok now, but I hope it can help someone else suffering from similar issues! |
Thanks for the heads up |
hey I have same problem. Can you please help me out? |
Hi,
I get the following error when I try to run either of the simple examples in your README file:
I appear to have successfully downloaded the en_coref_md model, but I am unable to import it. I'm using spaCy 2.0.11 and Python 3.6 if that helps.
Any suggestions on what might be wrong?
Thanks!
The text was updated successfully, but these errors were encountered: