Create your first automation in just a few minutes.Try Studio Web →
by Manish Jagtap
0
Activity
341
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.
The activity returns a PyVenv object which has the below attributes:
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)
License & Privacy
MIT
Privacy Terms
Technical
Version
1.0.0Updated
May 23, 2022Works with
Studio: 20.10 - 22.10
Certification
Silver Certified
Support
UiPath Community Support