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のインストールは試しました。ありがとうございます。