When I install Pyautogui through the Python -m pip install pyautogui it goes through and download. But when I run my code which contains import Pyautogui I get this:
Traceback (most recent call last):
  File "C:/Users/kalle/.PyCharmCE2018.3/config/scratches/ytbot.py", line 9, in <module>
    import pyautogui
ModuleNotFoundError: No module named 'pyautogui'
 
    