admin管理员组文章数量:1345060
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)
本文标签: Problems uploading certain python packages to Azure Automation AccountStack Overflow
版权声明:本文标题:Problems uploading certain python packages to Azure Automation Account - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743807038a2542367.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论