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? Help? #436

Open
pepsidude1 opened this issue Oct 28, 2021 · 6 comments
Open

OMP: Error #15? Help? #436

pepsidude1 opened this issue Oct 28, 2021 · 6 comments

Comments

@pepsidude1
Copy link

pepsidude1 commented Oct 28, 2021

Hi, im trying to download avatarify on windows, but when i do the, run_windows.bat i get this error:

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.

I tried doing the: import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"

But then i got the error:

'import' is not recognized as an internal or external command,
operable program or batch file.

and

["KMP_DUPLICATE_LIB_OK"]="TRUE"
'os.environ["KMP_DUPLICATE_LIB_OK"]' is not recognized as an internal or external command,
operable program or batch file.

Can anyone help me?

@JohanAR
Copy link
Collaborator

JohanAR commented Oct 28, 2021

Never seen that before. Did you go through all the installation steps in the manual?

@pepsidude1
Copy link
Author

Never seen that before. Did you go through all the installation steps in the manual?

I followed this guide for windows
https://github.com/alievk/avatarify-python/tree/master/docs#windows

@pepsidude1
Copy link
Author

pepsidude1 commented Oct 28, 2021

The only thing different is that i didnt manage to download the nvidia driver, i have the nvidia geforce 820m but it didnt work with the download.

@JohanAR
Copy link
Collaborator

JohanAR commented Oct 29, 2021

The only install instructions that mention downloading nvidia driver is for running in Docker, which is for Linux. Make sure that you only follow steps 1-12 under the "Windows" section.

Did you run step 4 and 6 in the miniconda window that you opened in step 3? I've seen some being confused by that, and trying to run things in a regular command prompt.

@pepsidude1
Copy link
Author

The only install instructions that mention downloading nvidia driver is for running in Docker, which is for Linux. Make sure that you only follow steps 1-12 under the "Windows" section.

Did you run step 4 and 6 in the miniconda window that you opened in step 3? I've seen some being confused by that, and trying to run things in a regular command prompt.

Yes, i pasted it in miniconda i followed this video https://www.youtube.com/watch?v=lym9ANVb120

@Barchtic
Copy link

Barchtic commented Jan 21, 2022

Getting the same issue here as well. I've gone through #411 solution. Currently on Windows 11 with a RTX 3090.

I'm not fluent with any of this stuff but deleting the lib dlls mentioned in the error allowed it to 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

3 participants