最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Problems uploading certain python packages to Azure Automation Account - Stack Overflow

programmeradmin1浏览0评论

Certain python packages fail to upload to an Azure Automation Account.

I am trying to upload wheels for:
azure-mgmt-authorization version 3.0.0 or 4.0.0

For 4.0.0, I checked the setup.py file and found these dependencies:

install_requires=[
    "isodate<1.0.0,>=0.6.1",
    "azure-common~=1.1",
    "azure-mgmt-core>=1.3.2,<2.0.0",
    "typing-extensions>=4.3.0; python_version<'3.8.0'",
],

I was able to create wheels and upload these packages.

Upload Failure: The activity log shows:

Create or Update an Azure Automation Python 3 package->Accepted
Create or Update an Azure Automation Python 3 package -> Started

It never shows Failed or Succeeded as expected.

In the Python packages blade, I can see the Package Status as Failed, with an error of:

Last modified
4/2/2025, 6:59:29 PM
Package version
Size
0 KB
Status
Failed
Runtime version
3.8
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)
发布评论

评论列表(0)

  1. 暂无评论