ich arbeite gerade an einem Automatisierungsprojekt in UiPath Studio (Community Edition), bei dem ein Python-Skript über die Aktivität Python Scope ausgeführt werden muss. Allerdings erhalte ich immer wieder die folgende Fehlermeldung:
Python Scope: The specified Python path is not valid: C:\Program Files\Python39\python.exe
Folgendes habe ich bereits versucht:
Mehrere Python-Versionen (3.10, 3.12, 3.9) installiert und neu installiert, alle in der 64-Bit-Version
Überprüft, ob sich python.exe manuell über den angegebenen Pfad öffnen lässt
Den Python-Pfad in UiPath genau wie im Installationsverzeichnis angegeben eingetragen
UiPath und meinen Laptop neu gestartet
Sichergegangen, dass Python zum PATH hinzugefügt wurde und pip funktioniert
Ein einfaches Skript erstellt, das in VS Code oder im Terminal funktioniert
Trotz alledem erkennt die Aktivität Python Scope den Python-Pfad weiterhin nicht.
Ich benötige Python Scope, um ein Prophet-Zeitreihenprognose-Skript auszuführen, das Transaktionen von Kunden für 2025 vorhersagt. Die Ergebnisse möchte ich in den restlichen Automatisierungsablauf in UiPath integrieren.
Für jede Hilfe wäre ich sehr dankbar. Vielen Dank im Voraus!
There is a sample project at the bottom of the page with a sample configuration. Could you please double-check your configuration against this sample ?
Thank you so much for your attention and support — really appreciate it!
I’ll definitely take a closer look at the sample project and compare it with my current configuration.
Open the exception detaila from locals pane by running in debug mode to check the full error that might give correct issue
First try to run a simple python script with no imports and simple code like addition of number or so to check if setup is proper
As per error looks like the return or import is failing ..import might fail if library path is not provided or if there are multiple instances of python