Permissions required for import_py3package_from_pypi to install python runbook packages and their dependencies
Hi all,
I have been trying to install python runbook packages for a script that I am running. I am aware that I can manually upload each whl file for the packages, however, this does not manage the package dependencies. I then found the provided import_py3package_from_pypi script (https://github.com/azureautomation/runbooks/blob/master/Utility/Python/import_py3package_from_pypi.py), I have uploaded this as a runbook in my azure automation account, and when I start it, I enter the required string for args.
I am met with this error:
__ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\userenv\scripts\pip.exe' Consider using the --user
option or check the permissions. Traceback (most recent call last): File "/usr/src/tmp/