Cannot execute python script from Studio

How to run python script from Studio?

When running any python script from Studio the following error message is triggered:
"There was no endpoint listening at net.pipe://localhost/UiPath.Service/Host_IPythonService_13020 that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details."

The error is triggered in the following scenarios:

  • Python version used is 3.8, which is not a supported version as of today. Instead any of the 3.6 version should be used, as a test the Python version from here an be used
  • The latest Python activity is not being used. The version 1.1.6857.17236  or higher should be used instead
  • In the Python Scope the x32  target is selected. Instead the x64 Scope should be used