Uipath Marketplace
MarketplaceListingsActivityPython Venv Activities

Create your first automation in just a few minutes.Try Studio Web

Python Venv Activities

Python Venv Activities

by Manish Jagtap

StarStarStarStarStarStarStarStarStarStar

0

Activity

Downloads

337

back button
back button
carouselImage0
next button
next button

Summary

Summary

Using this custom activity, you can create a Python venv during runtime from UiPath, and then use this venv to run the Python scripts within the automation.

Overview

Overview

If you have multiple automation projects that invoke Python scripts, you may eventually run into a situation where you would need to use different versions of the same Python libraries across different projects, but would need to share a common production environment. 

If you have a system-wide installation of Python libraries, this might cause the bots to break in production.

Using venv you can create lightweight “virtual environments” which provide the ability to have project-specific dependencies installed in a virtual environment, instead of forcing you to install your packages system-wide.

Features

Features

The Package Contains 2 activities.

  1. Create venv: This activity is used to create a new Python venv.

The activity returns a PyVenv object which has the below attributes:

  • VenvPath: Full path of the venv.
  • VenvPyExecutable: Full path of the python.exe file located within the venv.
  • VenvScriptsPath: Full path of the Scripts folder within the venv.

2. Deactivate venv: This activity is used to deactivate and delete the venv.

The activity takes the PyVenv object as input.

Additional Information

Additional Information

Dependencies

Python 3

Code Language

Visual Basic

Runtime

Windows (.Net 5.0 or higher)

Publisher

Manish Jagtap

Visit publisher's page

License & Privacy

MIT

Privacy Terms

Technical

Version

1.0.0

Updated

May 23, 2022

Works with

Studio: 20.10 - 22.10

Certification

Silver Certified

Support

UiPath Community Support

Similar Listings