Most of CS50’s command-line tools require that you have Python 3.6 or higher installed, since CS50 uses f-strings and assumes that keyword arguments are ordered. (If you already have Python installed on your Mac or PC but didn’t install it yourself, odds are it’s a version older than 3.6.) You can install the latest version of Python, 3.7, for

and other platforms.