Search code examples
python-3.xscikit-learnopenmpdllimportsklearn-pandas

ImportError: dll load failed while importing _openmp_helpers: The specified module could not be found while importing sklearn package


import sklearn

version--3.8.0 64-bit

Traceback (most recent call last): File "", line 1, in import sklearn File "C:\Users\SAI-PC\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn__init__.py", line 75, in from .utils._show_versions import show_versions File "C:\Users\SAI-PC\AppData\Local\Programs\Python\Python38\lib\site-packages\sklearn\utils_show_versions.py", line 12, in from ._openmp_helpers import _openmp_parallelism_enabled ImportError: DLL load failed while importing _openmp_helpers: The specified module could not be found.


Solution

  • Tried hard to solve it in IDLE but it didn't got rectified. Finally overcame it by installing anaconda IDE and using jupyter notebook.