Cannot import frozendict to Azure Automate

Eser Bahar 0 Reputation points
2023-04-25T15:59:28.76+00:00

Hi, I cannot import frozendict package to Azure Automate and getting below error message. Error Orchestrator.Shared.AsyncModuleImport.ModuleImportException: An internal error occurred during module import while attempting to store module content. This could be a transitory network condition - please try the operation again. 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,164 questions
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,411 Reputation points
    2023-07-31T06:30:42.9233333+00:00

    Hi @Eser Bahar ,

    The fix has been rolled out. Now we can import packages like numpy, scikit-learn, frozendict, etc. without any issues to python 3.8 runtime version. As shown in below screenshot and as mentioned in this Azure document, note that we have to try importing packages with filename part cp38 and amd64.

    User's image

    Please find below screenshot for illustration purpose which shows that importing packages was successful.

    User's image

    0 comments No comments