为什么导入pyautogui时Python报错了?

我明明安装了pyautogui,为什么Python报错了?

import pyautogui
================== RESTART: C:/Users/Judo_Hu/Desktop/python.py =================
Traceback (most recent call last):
  File "C:/Users/Judo_Hu/Desktop/python.py", line 1, in <module>
    import pyautogui
ModuleNotFoundError: No module named 'pyautogui'
>>> 
================== RESTART: C:/Users/Judo_Hu/Desktop/python.py =================
Traceback (most recent call last):
  File "C:/Users/Judo_Hu/Desktop/python.py", line 1, in <module>
    import pyautogui
ModuleNotFoundError: No module named 'pyautogui'
>>> import pyautogui
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import pyautogui
ModuleNotFoundError: No module named 'pyautogui'

img


img

uninstall,然后再install下,当初我也是没安装好然后卸载重装就可以了