-
-
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
OMP: Error #15: Initializing libiomp5md.dll #8366
Comments
Hey, sorry you're having trouble with this. We've seen this several times before, specifically with Anaconda on Windows, and it seems to be an issue with your environment rather than with spaCy. Like the error message says you can make the error go away like this:
Or by otherwise setting that environment variable. That can potentially cause problems but we haven't had reports of any. Note #7664 is the same issue. |
Hello Polm, Thanks for your answer. I will figure out myself by following the projects. Thanks. |
Where are we meant to add these two lines? |
You can add them at the top of any code you've written that's giving this error. If you're using something like
|
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. |
How to reproduce the behaviour
I followed the quick start on the tutorial website. I chose only ner, cpu, and accuracy. Then, I downloaded the base_config and made config.cfg by "python -m spacy init fill-config base_config.cfg config.cfg"
After input "python -m spacy train config.cfg --output ./output --paths.train ./train.spacy --paths.dev ./dev.spacy",
I got the following error. I am not an expert in coding, and do not know what multiple copies of the OpenMP runtime means. I greatly appreciate your time to look into this. Thank you.
Your Environment
spaCy version 3.0.6
Location C:\ProgramData\Anaconda3\envs\spacy\lib\site-packages\spacy
Platform Windows-10-10.0.19042-SP0
Python version 3.8.10
Pipelines en_core_web_lg (3.0.0), en_core_web_trf (3.0.0)
The text was updated successfully, but these errors were encountered: