Skip to main content
Cadet | Tier 2
November 24, 2020
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.

  • November 24, 2020
  • 2 replies
  • 79 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

    Automation Anywhere Team
    March 15, 2021

    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

    Automation Anywhere Team
    February 13, 2023

    Hi,

     

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