Uploading Python package to Automation Account

DataB93 0 Reputation points
2024-04-30T08:44:10.7966667+00:00

Hi,

I am trying to upload a python package to an Automation Account but keep failing. The runtime is Python 3.8. I am quite new to the whole Azure scene but have followed the guide in
https://learn.microsoft.com/en-us/azure/automation/python-3-packages?tabs=py3%2Csa-mi
and keep getting a failure as seen in the bottom during upload.

The selected wheels are
pandas-1.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64
pyodbc-5.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64

which I believe should be right format.

I hope someone can help me!

Best regards,
Mathias

Orchestrator.Activities.PythonPackageExtractException: Error while extractinig Python package: Unexpected file structure in .whl file for python package pandas. It is likely that the package is for an unsupported platform. at Orchestrator.Activities.SetModuleActivity.ExecuteInternal(CodeActivityContext context, Byte[] moduleContent, String moduleName, ModuleLanguage moduleLanguage, Guid moduleVersionId, String modulePath) at Orchestrator.Activities.SetModuleActivity.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

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