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

OMP: Error #15: Initializing libomp140.x86_64.dll, but found libiomp5md.dll already initialized. #98

Open
genzhengmiaohong opened this issue Apr 29, 2024 · 4 comments

Comments

@genzhengmiaohong
Copy link

windows, my python version=3.10, torch=1.13.0+cu116, torchvision=0.14.0+cu116, how can i fix this?

@zwl8979
Copy link

zwl8979 commented May 15, 2024

I encountered the same problem, could you please solve it? @genzhengmiaohong

@genzhengmiaohong
Copy link
Author

I added os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" at the beginning of common.py and it worked, but it didn't essentially solve the problem.

I encountered the same problem, could you please solve it? @genzhengmiaohong

@fisheep
Copy link

fisheep commented Jul 27, 2024

it's miss some dll

in my case, I was download a libomp140.x86_64_x86-64.dll

@Wangwang99999
Copy link

I encountered the same problem. When I add os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" at the beginning of common.py, it doesn't work!

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

4 participants