In runbook's code there is a fragment where it installes a python library with pip module. While executing it script should wait until it is done, but it does not. Locally when I run "pip.main(['download', '-d', '.', 'pandas'])" it takes few seconds until it gets executed, in Azure just the beginning of output is shown and then it goes without waiting for it to finish.



