Question

Python Path Environment

  • 3 January 2022
  • 5 replies
  • 111 views

Userlevel 3
Badge +9

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

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

Userlevel 6
Badge +16

Hi @Logan Price​ ,

 

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

Userlevel 6
Badge +16

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>

Userlevel 3
Badge +9

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.

Userlevel 3
Badge +9

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.

Userlevel 6
Badge +16

Welcome @Logan Price​ 

Reply