Skip to main content
LoganPrice
Most Valuable Pathfinder
Most Valuable Pathfinder
January 3, 2022
Solved

Python Path Environment

  • January 3, 2022
  • 6 replies
  • 498 views

===================================

Community Edition - Bot Agent Version 21.120.

Windows 10

====================================

Can anyone help clarify the AA Python Package documentation?

 

In the image below, AA describes what to do before you start using Python in your bot:

 

python path environmentWhat is the 'PATH' environment variable? Can I access it in the control room or work bench? How do I configure it?

 

Is the command prompt referred to here, the one that is installed in Windows, or is there some other command prompt?

 

When I type "Python" into the Windows Command Prompt, it takes me to the Window App store.

 

I have Python 3.9 installed on my computer so I am confused how I get AA to sync up with and use it in my bots.

 

Thanks!

    Best answer by ChanduMohammad

    HI @Logan Price​ ,

     

    Checkout below tutorial to add Python Installation to Path Environment variable

     

    https://www.youtube.com/watch?v=4bUOrMj88Pc

     

    https://datatofish.com/add-python-to-windows-path//p>

    6 replies

    Most Valuable Pathfinder
    January 4, 2022

    Hi @Logan Price​ ,

     

    Can you type "py" in cmd and check for version?

    Chand
    Most Valuable Pathfinder
    January 4, 2022

    HI @Logan Price​ ,

     

    Checkout below tutorial to add Python Installation to Path Environment variable

     

    https://www.youtube.com/watch?v=4bUOrMj88Pc

     

    https://datatofish.com/add-python-to-windows-path//p>

    Chand
    LoganPrice
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    January 4, 2022

    Sure - that brought up my python version. See below.2022-01-04 07_50_47-Command Prompt - pyWhen I try to run inline python in AA, my agent gets hung up on the Open Script action and stays stuck forever. So it seems like maybe AA is still not finding my Python version.

    Automate Everything
    LoganPrice
    Most Valuable Pathfinder
    Most Valuable Pathfinder
    January 4, 2022

    Thank you @ChanduMohammad S​ that article was incredibly insightful regarding Windows variables. I was able to set up my Python path variable using that method.

    Automate Everything
    Most Valuable Pathfinder
    January 4, 2022

    Welcome @Logan Price​ 

    Chand
    Jenna4321
    Cadet | Tier 2
    May 1, 2025

    What if I have my path set correctly, but I’m still getting that error in AA?