Invoke python scripts with a particular virtual environment

Hello All,

I am running various python version on my system and for each new project, i want to create a virtual environment in which my python script would run. How can I invoke python scripts with a particular virtual environment in UIPath?


To add on. I tried adding the path of my virtual environment to python scope but i get an error.

“message”:“Python Scope: There was no endpoint listening at net.pipe://localhost/UiPath.Service/Host_IPythonService_2820 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.”

I have the same error here.
Do you have an answer please ?
Thank you.

no not yet! :frowning:

I would also be very interested in a solution. Is it nowadays possible to use venv in UiPath?

Hi all,

I am also trying the same but facing the same error mentioned above.

Please let us know if there it is possible to use python virtual environment in uipath.


Hi all,

I tried anaconda env, it worked.
Set path as your virtual environment path.

my environment:
virtual environment named: UiPath35
UiPath Version: Enterprise 2020.10.2
image (2.6 KB)