Could not find a part of the path 'C:\Users\user\Documents\OpenRPA\extensions'

OpenRPA is using Python.Included for handling the embedded Python and giving access to the runspace so we can inject code and read/write variables. This was meant for a more “integrated” solution, over simply calling a Python file using your default Python interpreter (and you can still do that). The downside is, we are limited in what version we can support, and not all Python modules will work with this (since GUI libraries are excluded from the embedded version).

I originally used IronPython. I cannot remember why I looked for an alternative, but there were some issues with it. Since Python.Included is no longer being updated, it might be worth looking into IronPython again.

If you are serious about your Python scripts, you might consider a much better solution. You can use agents to run code in a lot of programming languages (currently 11), then you control both the version of Python and also get environment isolation between each script you run. (See more here here and here).

1 Like