Skip to main content
Answer

Failed in python execution

  • September 6, 2023
  • 2 replies
  • 217 views

Forum|alt.badge.img+1
Hello!I have tried to run a simple python script and it gives me the error "failed in python execution". I have correctly installed python and it is in the environment variables.The script runs fine in cmd.
I am new to A360, hope someone can help me.Thank you so much.

 

Best answer by ravi.pothana

Hi @smcarrizo,

  1. Please ensure the “python script” package version is latest and its set to default in the “packages” tab. 
    https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/python-package-releases.html
  2. Make sure python version 2.x or 3.x is installed in bot agent machine and it is the latest version of python.
  3. Bot agent should be installed with admin rights.

Thank you!

2 replies

Forum|alt.badge.img+8
  • Automation Anywhere Team
  • Answer
  • September 6, 2023

Hi @smcarrizo,

  1. Please ensure the “python script” package version is latest and its set to default in the “packages” tab. 
    https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/python-package-releases.html
  2. Make sure python version 2.x or 3.x is installed in bot agent machine and it is the latest version of python.
  3. Bot agent should be installed with admin rights.

Thank you!


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • September 7, 2023

Hi @smcarrizo,

  1. Please ensure the “python script” package version is latest and its set to default in the “packages” tab. 
    https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/commands/python-package-releases.html
  2. Make sure python version 2.x or 3.x is installed in bot agent machine and it is the latest version of python.
  3. Bot agent should be installed with admin rights.

Thank you!

Hi @ravi.pothana, I reinstalled A360 by running it in Administrator mode.And it worked.Thank you so much! :)