Python 3.13로 업그레이드한 후 Python 스크립트가 실행되지 않음

Python 스크립트는 IDLE에서 잘 작동하지만 UiPath Studio에서는 작동하지 않습니다:
다음과 같은 오류가 발생합니다: XamlServices.Save(XamlWriter writer, Object instance)
at UiPath.Workflow.Operations.Serializer.Services.WorkflowXamlSerializer.SaveAsString(ActivityBuilder activityBuilder)
at UiPath.Studio.Plugin.Workflow.WorkflowHandling.DesignerWrapper.SaveSnapshot(String fileName), HResult -2147024894
06:25:11.8112 => [ERROR] [UiPath.Studio.Project] [1] System.IO.FileNotFoundException: UiPath.CodedWorkflows 어셈블리의 파일을 로드할 수 없습니다, Version=24.10.2.0, Culture=neutral, PublicKeyToken=null. 시스템에서 지정된 파일을 찾을 수 없습니다.
파일 이름: ‘UiPath.CodedWorkflows, Version=24.10.2.0, Culture=neutral, PublicKeyToken=null’
at System.ModuleHandle.ResolveType(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(MetadataToken caCtorToken, MetadataImport& scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1& derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctorWithParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)

스튜디오에서 발생한 오류는: 하나 이상의 오류가 발생했습니다.

스튜디오 버전: 23.4.6
파이썬 버전: 3.13

같은 스크립트는 3.12에 대해 잘 작동합니다.

UiPath.CodedWorkflows.24.10.2는 귀하의 경우 해결할 수 없으며 UiPath Studio 24.10 이상이 필요합니다.

이 링크 https://download.uipath.com/versions/24.10.24/UiPathStudio.msi를 사용하여 로봇과 스튜디오를 24.10.24로 업그레이드한 후 프로젝트 실행을 다시 시도해 보십시오.

UiPath 패키지를 찾으려면 다음 피드를 사용하고 있는지 확인하십시오: https://pkgs.uipath.com/official/index.json 및 https://pkgs.dev.azure.com/uipath/Public.Feeds/_packaging/UiPath-Official/nuget/v3/index.json

두 가지 별개의 문제가 있습니다. 로그의 오류는 Python에서 발생한 것이 아닙니다.

1. CodedWorkflows 오류: UiPath.CodedWorkflows 24.10.2는 Studio/Robot 24.10 이상이 필요합니다. Studio를 업그레이드 하거나, Manage Packages에서 해당 패키지를 Studio에 맞게 다운그레이드하세요. 그런 다음 프로젝트의 .local 폴더를 삭제하고 프로젝트를 다시 열어보세요.

2. Python 3.13: Python Scope에서 Path를 3.13 설치 폴더로 설정하고, Library path를 python313.dll, Target을 x64, Version을 Auto로 설정하세요. UiPath.Python.Activities를 최신 버전으로 업데이트 하세요. 만약 3.13이 목록에 없으면 현재는 3.12를 사용하세요. 또한, Python을 업그레이드 할 때 모듈이 유지되지 않기 때문에 pip로 모듈을 다시 설치하세요.

그래도 실패하면, Studio 버전, Python.Activities 버전 및 정확한 오류를 게시하세요.

안녕하세요 @rajasekhar_d ,
Python 3.13은 귀하의 Studio 버전에서 완전히 지원되지 않을 수 있습니다. Python 3.12로 다운그레이드하거나, Python 3.13을 지원하는 버전으로 UiPath Studio/패키지를 업그레이드하면 문제가 해결될 것입니다.

감사합니다.