I’ve created an automation using the Invoke Python activity. The challenge is that this automation needs to run on virtual machines (VMs) where Python cannot be installed.
While researching solutions, I came across the python.included library, but I encountered difficulties in setting it up.
My question is:
Is it possible to include a Python compiler directly within the project files?
Alternatively, can Python activities be executed without installing Python on the machine?
Any guidance or suggestions would be greatly appreciated!
To add to this - in theory, I suppose you could use Coded Workflows functionality and the above mentioned python.included library, although I didn’t try it myself so I am not sure how far you can get there.
This is possible either with Invoke Python activity or via PowerShell or start process activities.
This post goes over the three approaches to integrate Python into your UiPath project.
As suggested in the other post. Python need not be installed in the system. All the modules you use need to be installed (via pip or conda) prior to integrating it with Python.
You can also look at using Embedded python, which is a standalone portable version of Python, no installation required.