pythonmoduleimporterrorpyautogui

Pyautogui can't be imported


i've been trying to import Pyautogui and here's what i'm getting : enter image description here

I tried the following : -reinstalling the module -uninstalling one version of python as i had two -manually selected python debugger in VSCode where module is installed -checked for circular import issue with other modules


Solution

  • Problem solved. I had old registry entries entries left here : HKEY_LOCAL_MACHINE\SOFTWARE\Python and here : HKEY_CURRENT_USER\SOFTWARE\Python