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

importing easyocr caused automaticly restarting for the kernel because of a fetal error #1222

Open
AhmedMostafa3m opened this issue Feb 29, 2024 · 0 comments

Comments

@AhmedMostafa3m
Copy link

i install easyocr successfully in spyder but when i import it the kernel restart and return this message "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/.
Fatal Python error: Aborted
Main thread:
Current thread 0x00000a4c (most recent call first):
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\site-packages\skimage\color\colorconv.py", line 421 in
File "", line 488 in _call_with_frames_removed
File "", line 995 in exec_module
File "", line 935 in _load_unlocked
File "", line 1331 in find_and_load_unlocked
File "", line 1360 in find_and_load
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\site-packages\skimage\io_io.py", line 7 in
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\site-packages\skimage\io_init
.py", line 11 in
File "", line 488 in call_with_frames_removed
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\importlib_init
.py", line 90 in import_module
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\site-packages\lazy_loader_init
.py", line 74 in getattr
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\site-packages\easyocr\imgproc.py", line 8 in
File "C:\Users\hp\anaconda3\envs\Ahmed_Env\Lib\site-packages\easyocr\recognition.py", line 10 in
File "C:\Users\hp\AppData\Local\Temp\ipykernel_9576\3640170844.py", line 1 in "
i installed python 3.12.2 and speder 5.5.1 and easyocr 1.7.1 and Python 3.12.2 64-bit | Qt 5.15.2 | PyQt5 5.15.10 | Windows 10 (AMD64)

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

1 participant