tortoise-tts icon indicating copy to clipboard operation
tortoise-tts copied to clipboard

OMP: Error

Open x6800 opened this issue 1 year ago • 6 comments

"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/."

Everything works except when trying to generate TTS other than the "random" preset. Then it spits out this error.

x6800 avatar Apr 11 '23 21:04 x6800

As a temporary fix, adding KMP_DUPLICATE_LIB_OK=TRUE to the path on windows does work to allow different voices

Hsad avatar Apr 12 '23 21:04 Hsad

what path?

Endez avatar Apr 13 '23 16:04 Endez

image Windows system variables

Hsad avatar Apr 13 '23 18:04 Hsad

Thank you

Endez avatar Apr 13 '23 20:04 Endez

I also ran into this issue, and found https://stackoverflow.com/questions/20554074/sklearn-omp-error-15-initializing-libiomp5md-dll-but-found-mk2iomp5md-dll-a

Adding in the KMP_DUPLICATE_LIB_OK=TRUE would work as a workaround, but what resolved it for me was to reinstall numpy

moojustice1 avatar Jun 09 '23 17:06 moojustice1

For me it was removing libiomp5md.dll from the current env ...envs/XXX/Library/bin folder as it was already in my ...Library/bin main one

edward93 avatar Dec 04 '23 07:12 edward93