Last answered:

02 Aug 2023

Posted on:

30 Jul 2023


any solutions pls first time see something like that

PS C:\Users\bessghaier> & C:/Users/bessghaier/anaconda3/envs/capstone/python.exe "c:/Users/bessghaier/OneDrive/Bureau/python projects/"
C:\Users\bessghaier\anaconda3\envs\capstone\Lib\site-packages\numpy\ UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see<br />  from . import _distributor_init
Traceback (most recent call last):
  File "c:\Users\bessghaier\OneDrive\Bureau\python projects\", line 1, in <module>
    import numpy as np  
  File "C:\Users\bessghaier\anaconda3\envs\capstone\Lib\site-packages\numpy\", line 443, in <module>
    import mkl
  File "C:\Users\bessghaier\anaconda3\envs\capstone\Lib\site-packages\mkl\", line 48, in <module>
    with RTLD_for_MKL():
  File "C:\Users\bessghaier\anaconda3\envs\capstone\Lib\site-packages\mkl\", line 33, in __enter__
    import ctypes
  File "C:\Users\bessghaier\anaconda3\envs\capstone\Lib\ctypes\", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: DLL load failed while importing _ctypes: Le module spécifié est introuvable.

1 answers ( 0 marked as helpful)
Posted on:

02 Aug 2023


Hi Alaaeddine!

Thanks for reaching out.

The ImportError indicates the DLL or the module Python is looking for isn't in a place where it can be found.

I advise you to consider updating or potentially reinstalling Python to rectify this issue.

Hope this helps.



Submit an answer