Skip to main content
Answer

using a python virtual environment(venv/conda) with Automation Anywhere

  • February 7, 2023
  • 5 replies
  • 847 views

Forum|alt.badge.img+1

How do I use python virtual environments(venv/conda) inside of Automation Anywhere? 

Best answer by arjun.meda

@daniel.armstrong

An approach could be using scripting called them from A360, but it would be non-interactive with A360 actions for now i dont know how could be to use venv directly.

https://stackoverflow.com/questions/30927567/a-python-script-that-activates-the-virtualenv-and-then-runs-another-python-scrip

 

Regards

@daniel.armstrong - Hope this answered your question.

5 replies

rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • February 7, 2023

@daniel.armstrong  

 


Forum|alt.badge.img+1

@rbkadiyam the video you provided doesn’t contain any information on using python virtual environments.  In case your are not familiar with python, A virtual environment is a tool that helps you by keeping track of the dependencies required by your different projects. These virtual environments allows you to isolated the specific packages and versions that your project is dependent on. They also reduce the chances that you will run into dependency issues or breaking changes. if you don’t use a virtual environment or package manager, you can have issues maintaining your code, if your projects are build with different python/packages versions. 


Forum|alt.badge.img+22
  • Most Valuable Pathfinder
  • February 9, 2023

Hi @daniel.armstrong 

Even I am looking for this


Raul Jaimes
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • February 9, 2023

@daniel.armstrong 

An approach could be using scripting called them from A360, but it would be non-interactive with A360 actions for now i dont know how could be to use venv directly.

https://stackoverflow.com/questions/30927567/a-python-script-that-activates-the-virtualenv-and-then-runs-another-python-scrip

 

Regards


arjun.meda
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • Answer
  • October 27, 2023

@daniel.armstrong

An approach could be using scripting called them from A360, but it would be non-interactive with A360 actions for now i dont know how could be to use venv directly.

https://stackoverflow.com/questions/30927567/a-python-script-that-activates-the-virtualenv-and-then-runs-another-python-scrip

 

Regards

@daniel.armstrong - Hope this answered your question.