Plugin does not install python and pip itself and use globally installed python (by default). It's easier to prepare python manually because python have good compatibility (from user perspective) and ...
This is the recommended way. Type instance will raise an exception if you set an invalid (or non-existent) parameter. params = mycam.devicemgmt.create_type('SetHostname') params.Hostname = ...