Skip to content
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

Encounter environment bug-->OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized. #36

Open
Wei-Qing-Du opened this issue May 23, 2021 · 2 comments

Comments

@Wei-Qing-Du
Copy link

I encountered environment bug that is OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
Therefore, I try to use some code to fix it please reference to below:

import os
os.environ["KMP_DUPLICATE_LIB_OK"]  =  "TRUE" that cna fix it
@Auresol
Copy link

Auresol commented Jun 19, 2022

I don't know if the problem has been solved yet. I'm gonna write it anyway.

I run into a similar problem while using jupyter notebook. so I check libiomp5md.dll in my anaconda file. The result was,
Screenshot 2022-06-19 135321

After that, I try to move out (delete) each file to see if it works. It seems like when I delete the one its path was C:\Users\phudi\anaconda3\Library\bin. the code works fine.

I'm neither an expert nor experienced. So I don't know if this approach has any side effects. But it does work for me.

@kuaikuaikim
Copy link
Owner

kuaikuaikim commented Jun 19, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants