Skip to main content
Question

Python Path Environment


LoganPrice
Most Valuable Pathfinder
Forum|alt.badge.img+12

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

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!

5 replies

Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • January 4, 2022

Hi @Logan Price​ ,

 

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


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • 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>


LoganPrice
Most Valuable Pathfinder
Forum|alt.badge.img+12
  • Author
  • Most Valuable Pathfinder
  • 77 replies
  • 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.


LoganPrice
Most Valuable Pathfinder
Forum|alt.badge.img+12
  • Author
  • Most Valuable Pathfinder
  • 77 replies
  • 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.


Forum|alt.badge.img+19
  • Most Valuable Pathfinder
  • 2694 replies
  • January 4, 2022

Welcome @Logan Price​ 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings