How do I fix it in Python 3.9.0 (Visual studio code) ---ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initializat

A

Abhinav_17

Traceback (most recent call last):
File "f:\python\practice\jarvis_final.py", line 13, in <module>
from pywinauto.application import Application
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\__init__.py", line 89, in <module>
from . import findwindows
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\findwindows.py", line 42, in <module>
from . import controls
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\controls\__init__.py", line 36, in <module>
from . import uiawrapper # register "uia" back-end (at the end of uiawrapper module)
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\controls\uiawrapper.py", line 42, in <module>
from .. import backend
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\backend.py", line 35, in <module>
from .base_wrapper import BaseWrapper
File "C:\Users\ASUS\AppData\Local\Programs\Python\Python39\lib\site-packages\pywinauto\base_wrapper.py", line 44, in <module>
import win32ui

ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed.


I am new to this field. Can anyone explain what's the problem with it?

Continue reading...
 
Back
Top Bottom