When python is installed in a location with spaces (ie, Program Files), this command fails with the error:
executing command: C:\Program Files\Python36\Scripts\pip.EXE install --upgrade pyyaml 'C:\Program' is not recognized as an internal or external command, operable program or batch file.
This change fixes that.