Question

How do I save a matplotlib graph on the desktop from a python file run on Automation Anywhere Community Edition. The program runs normally using cmd prompt but doesn't work using Automation Anywhere. Adding the Plot creation part of the code below.

  • 24 November 2020
  • 2 replies
  • 47 views

How do I save a matplotlib graph on the desktop from a python file run on Automation Anywhere Community Edition. The program runs normally using cmd prompt but doesn't work using Automation Anywhere. Adding the Plot creation part of the code below.

2 replies

Userlevel 7
Badge +10

Hello @Aaliya Nadaf​ 

 

Perform the following steps to resolve the issue:

  1. Make sure Python version 2.x or 3.x is installed in your machine.
  2. Re-install Python Runtime version.
  3. Select Python Script in the Package Tab. Set this as the default
  4. Provide Full access Control to the Automation Anywhere Folder, C:\Programdata\AutomationAnywhere.

If environment variable are not set after installing the python, follow steps from the below link:

 

https://www.liquidweb.com/kb/how-do-i-set-system-variable-path-for-python-on-windows/#:~:text=Click%20Environment%20Variables%20to%20make,called%20Path%20and%20click%20Edit.

 

Regards,

Bhavya Patel

Userlevel 1
Badge +4

Hi,

 

If you are still facing an issue, can connect with me.

Reply