Python Scope freezes indefinitely in Windows project (Enterprise Trial, Python 3.8, .NET 6 Desktop Runtime installed)

Description

I am currently using the 60-day Enterprise Trial and I am running into a blocking issue where Python Scope freezes with no errors in a VB • Windows project, even with the smallest possible script.

The workflow never enters the body of the Python Scope, no exceptions are thrown, the timeout is never hit, and nothing appears in Output. I have to manually stop debugging.

Environment Details

UiPath Studio Enterprise Trial (2024/2025 UI)

Project type: VB • Windows

OS: Windows Server (Google Cloud VM)

Python: 3.8.10 (64-bit) installed at C:\Python38

Verified architecture:

python -c “import struct; print(struct.calcsize(‘P’)*8)”
→ 64

DLL present:
C:\Python38\python38.dll

.NET runtimes installed:

dotnet --list-runtimes
Microsoft.NETCore.App 6.0.36
Microsoft.WindowsDesktop.App 6.0.36

(Docs state .NET Desktop Runtime 6+ is required for Python Scope in Windows projects.)

Package: UiPath.Python.Activities (latest)

Python Scope Properties

Following UiPath documentation for Python ≤ 3.9:

Library path (Linux or version>3.9): (empty)

Path: “C:\Python38”

Target: x64

Timeout: 600

Version: Python 3.8 (also tested with Auto)

Minimal Reproducible Example

Inside Python Scope:

Load Python Script → Code:

“import sys” & vbCrLf & _
“def main():” & vbCrLf & _
" return sys.version"

Result: pyScript

Invoke Python Method

Instance: pyScript

Name: “main”

Result: pyObj

Get Python Object

PythonObject: pyObj

TypeArgument: String

Result: pythonVersion

Write Line

Text: pythonVersion

Observed Behavior

Execution reaches Python Scope and stops there.

The Scope never enters the Do block.

No error is generated.

Timeout does not trigger.

No logs are produced.

python.exe never appears in Task Manager.

Studio stays responsive but workflow execution is stuck.

Troubleshooting Already Performed

Reinstalled Python 3.8 (64-bit)

Verified DLL, import, architecture

Tested Python Scope with different folders and work directories

Reinstalled .NET 6 Desktop Runtime

Rebooted VM

Created a brand-new Windows project containing only a Python Scope + the simple script above

Tried Version: Auto vs Python 3.8

Tried different timeouts

Verified permissions and paths

The behavior is identical every time: Python Scope silently freezes before the body executes.

Questions

Is Python Scope officially supported in “Windows” (.NET 6) projects in the latest Enterprise build?

Does UiPath.Python.Activities v1.9+ work with Python 3.8 in Windows projects, or only with Python 3.9+?

Are there known issues with Python Scope initialization inside Windows projects?

Is there a way to enable diagnostic logging for Python Scope startup?

Should I be using Windows-Legacy instead for Python integrations?

Any guidance would be greatly appreciated — this is a critical part of our workflow, and as an Enterprise Trial user I want to confirm whether this is a configuration issue or a known product limitation.

Date

2025-11-28

Related UiPath products

Studio

@Phil_Kelsey

can you please open event viewer logs and check if you see any error there..generally it shows there

cheers

Hi @Phil_Kelsey

Try to use Windows‑Legacy as the project type. Might be work…

For more:

Happy Automation