cancel
Showing results for 
Search instead for 
Did you mean: 

Error while running Python File

DishaKulkarni
Level 4
I am trying to run a python file which basically accesses contents from my Google Drive. The python file works fine in my IDE( Visual Studio Code) but throws this error while running through blue prism
Internal : Could not execute code stage because exception thrown by code stage: The specified executable is not a valid application for this OS platform.

How can I rectify this?

------------------------------
Disha Kulkarni
------------------------------
3 REPLIES 3

Hi Disha,

Are you using the Script Execution VBO to call Python script? https://digitalexchange.blueprism.com/dx/entry/3439/solution/blue-prism---script-execution-vbo-2

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

Hi Disha,

For a better reference on how to invoke python script from Blue Prism, you can check page 24 of the attached document which was shared earlier in the community forums.

------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------

NaveenRPA
Level 4
Hi Disha,

I have created a vbo to run python script without installing python in system.

Check below url how install vbo and supported files.
https://github.com/BlueprismWorld/Run-python-in-Blueprism


------------------------------
naveen k
------------------------------