Assuming you have Python installed, open the Terminal and run ‘py -m pip install yaml’
I've had the same issue as users above and got the yaml error.
I re-did the tutorial step by step and tried a fresh python reinstall (3.1.0), ran both files (made sure they're in the proper folder), and tried to run the line suggested, above
Instead, I get this error:

Any help is appreciated ;A;