First of all, install Python 3 (latest version) 64bit Windows from: Python homepage Make sure add python to path is selected while installing.

After installation, open a CMD prompt and enter:

pip install pyautogui pydirectinput keyboard 

This will download and install most of the add on modules with the scripts will use.