I am a newbie and I would like to use pywinauto to automate the application on windows.
I typed the code on the jupyter notebook from pywinauto.application import Application app = Application(backend = "uia").start('notepad.exe')
and I got the error "DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed."
After that, I tried to reinstall as the last comment I saw on the link: "https://stackoverflow.com/questions/64655079/cannot-import-from-pywinauto-importerror-dll-load-failed-while-importing-win32". However, I got another error:" ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\ProgramData\Anaconda3\Lib\site-packages\win32\_win32sysloader.pyd'
Consider using the --user
option or check the permissions."
Please help me to solve it.
Asked
Active
Viewed 79 times
0

Thành Trần
- 15
- 5