Description
I’m trying to understand the preferred and supported way to run Python inside UiPath Studio today.
I know that the older UiPath.Python.Activities package only works reliably in Windows-Legacy projects, but I noticed that the option to create a Windows-Legacy project no longer appears by default in Studio. My questions are:
What is the recommended project type for running Python in 2024/2025?
Should new developments still use Windows-Legacy when Python integration is required?
Or is there an officially supported method for running Python inside the new Windows (.NET 6+) project type?
I have seen guidance in the past, but I want to confirm the current recommended approach from UiPath’s perspective.
How do I re-enable the “Windows-Legacy” option in Studio?
My Studio installation only shows:
Windows
Cross-platform
There is no Windows-Legacy in the Compatibility dropdown.
I’ve been told that Windows-Legacy is hidden by default in newer versions of Studio and must be enabled somewhere in the Studio settings, but I cannot find the setting.
Where exactly do I enable this?
If the preferred method is to use the new Windows (.NET 6) project type, how should Python be executed?
Since Python Scope, Load Python Script, and Invoke Python Method do not work in Windows (.NET 6) projects (I get Pipe is broken errors), what is the recommended solution?
For example:
Invoke PowerShell → call Python.exe and return JSON
Start Process → run Python and read output from a file
Exposing Python code via a REST API
Or some other UiPath-supported method
If the intention is that Python code should be run externally rather than via the Python Activities in modern projects, I would like clarification.
What is UiPath’s long-term plan for Python support?
Is development of the Python Activities continuing?
Or should we assume that:
Windows-Legacy + Python Activities = “classic support”
Windows (.NET 6) = use external Python via PowerShell/Start Process/API
?
I want to make sure I’m using the approach that UiPath recommends going forward.
Thank you!
Date
2025-12-02
Related UiPath products
Studio



