Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Python activities do not work with virtual environments #42

Open
andumorie opened this issue Jan 21, 2019 · 1 comment
Open

Comments

@andumorie
Copy link

Describe the bug
Trying to set the Python path to a virtual environment results in an exception when using the Load Script activity: "There was no endpoint listening at net.pipe://localhost/UiPath.Service/Host_IPythonService_13976 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ----> System.IO.PipeException: The pipe endpoint 'net.pipe://localhost/UiPath.Service/Host_IPythonService_13976' could not be found on your local machine."

To Reproduce
Steps to reproduce the behavior:

  1. Add a Python Scope activity
  2. Set the path to a virtual environment
  3. Use the Load Script activity
  4. See error

Expected behavior
Should work just like when providing the system Python path

Screenshots
http://prntscr.com/ma29e6

Additional context
Example workflow to reproduce: https://drive.google.com/open?id=1S-RYuGmxN6vWDlWANnVEJcSzF7oaclI_

@andumorie andumorie changed the title Python activities do not work with virtual environments Python: Python activities do not work with virtual environments Jan 21, 2019
@igorsekulic
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants