How to download Pyautogui on Python for MacBook Air?

Hi!
My name is Debbie. I have a MacBook Air and I am trying to download Pyautogui. I cannot figure out how to do it and the tutorials online are for Windows. If someone can help me with a simple tutorial, I would really appreciate it.

It says there’s a necessary module that is needed and it doesn’t support newer versions of Python:
NOTE: As of October 2019, the Pillow module doesn’t support Python 3.8. PyAutoGUI currently depends on this module for its screenshot capabiliti

https://pyautogui.readthedocs.io/en/latest/install.html