Unable to run a python runbook in Azure Automation

Robinraj 5 Reputation points
2024-01-15T02:48:08.81+00:00

Hi Team, I have created a python runbook (3.10 preview) in Azure automation and when I started to test the runbooks which has pandas dependencies in test pane it is showing the below error, which I'm not able to fix. User's image

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,119 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 21,256 Reputation points MVP
    2024-01-15T07:12:16.43+00:00

    Hi, Does somehow your script try to install a python package? Python packages are installed. Python packages are not installed via runbooks but via Python packages option. In your runbook you only import the package.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.