Python invoke is not working

I am trying to invoke python code in UiPath with UiPath.Python.Activities but its not working and not showing any error.

And also i am not able to add int value in input parameters. please see below image for your reference.


Thanks in advance

Hi @Mohit_Prashad

Check the below thread.

Regards

Hi @Mohit_Prashad ,

Many C# or VB.net variable types will not be accepted by Python. I think the best approach is to send String or JSON string and write logic to convert it to the needed variable type in your Python code.

To add Int parameters, use CObj().

image

Its already installed but the version is 8.0

The Python activities require specifically version 5 so version 8 won’t do.

@loginerror Please help

Could you please try the most recent Python package version? We released it last week and it was finally upgraded to support .Net 6 and Python 3.12.

I don’t see the new package in Studio/Manage Package?

It should be there now for sure (since a week or so).
(late reply, but necessary in case someone will see this)

안녕하세요, 저도 비슷한 문제가 있어요! Python Scope와 Python 스크립트 불러오기는 잘 되는데, Invoke Python Method만 실행되지 않고 프로젝트가 거기서 멈춰요. 해결 방법이 있을까요? NET 6.0을 설치해 봤습니다. 감사합니다.