I am unable to invoke python script

I have tried with path where python is installed ( lower and higher version)
target with 64 & 32 bit
version auto & specific
but its getting stuck at python scope everytime

Hi @seti.nadeem ,

Please refer the document Activities - Invoking a Python Script (uipath.com)

Still If you are facing issue let us the error derails.

Hello @seti.nadeem

  1. Confirm Python is correctly installed on your machine.
  2. Check Python Scope configuration (version, architecture).
  3. Verify Python is in the system PATH.
  4. Restart UiPath Studio after making changes.
  5. Confirm PythonPath property in Python Scope.
  6. Ensure UiPath and Python versions are compatible.

Thanks & Cheers!!!

Hey @seti.nadeem

The getting stuck issue is a symptom of the missing .NET 5.0.17 desktop runtime on the machine.

Installing it from the Microsoft website will fix the issue.

Hi, install .NET 5.0.17 Desktop runtime and restart your machine after installing.

Thank you for your support.

I tested with simple function like sum to invoke its working fine.but in my project
I have imported below package

import requests

the then its giving exception

image

thanks its working now
but one more issue getting

hi, which issue you are facing? can you please share

I have imported below package

import requests

the then its giving exception
If removing this package working fine
in above comment please chck the screenshot

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.