couldNotImportPyGetWindow()
susegecko opened this issue · 0 comments
I am not sure if this is Windows 10 specific, but I am unable to obtain getwindow type info.
The following just throws an error.
EX: pyautogui.getAllWindows()
Exception has occurred: Exception
PyAutoGUI was unable to import pygetwindow. Please install this module.
File "C:\Users\My_User\AppData\Local\Programs\Python\Python37\Lib\site-packages\pyautogui_init_.py", line 109, in couldNotImportPyGetWindow
raise Exception('PyAutoGUI was unable to import pygetwindow. Please install this module.')
File "E:\Users\My_user\source\repos\Python\hello.py", line 25, in
pyautogui.getAllWindows()
File "C:\Users\My_User\AppData\Local\Programs\Python\Python37\Lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\MY_USER\AppData\Local\Programs\Python\Python37\Lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\My_User\AppData\Local\Programs\Python\Python37\Lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)