# Python Activity : Invoke Python Method

**URL:** <https://forum.uipath.com/t/python-activity-invoke-python-method/470980>\
**Category:** Community\
**Tags:** community, question, python, forum, activities\
**Created:** [September 7, 2022, 6:40am UTC](https://forum.uipath.com/t/python-activity-invoke-python-method/470980 "2022-09-07T06:40:03Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![jeevith](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/jeevith/32/288449_2.png) [@jeevith](https://forum.uipath.com/u/jeevith)\
**Post date:** [September 7, 2022, 11:20am UTC](https://forum.uipath.com/t/python-activity-invoke-python-method/470980/22 "2022-09-07T11:20:52Z")

</div>

> [@Sukanya\_Dutta](#):
>
> ![Code](https://global.discourse-cdn.com/uipath/original/4X/e/0/c/e0c62f9b7c91655f1d645e09d540ddd5946b0f4e.png)
> 
> Code1881×911 55.8 KB

Why would you want to send the InputData as an array here? Why not just send it as a string? Let json.loads(X) do the searlization in the python script.

> [@Sukanya\_Dutta](#):
>
> But without any input parameter How can the model predict the output ?

All along we got an understand that your csv file has all the input and output data and probably your pipeline does the inference. We do not know what your joblib pipeline looks like. What you are trying to achieve and what is the output you are looking for. I think these are very important. Without a proper question, it is next to impossible to debug such problems remotely.

[How to ask a good question? - News / Tutorials - UiPath Community Forum](https://forum.uipath.com/t/how-to-ask-a-good-question/15216)

---

<div class="post-metadata">

**Author:** ![PASB\_BOT](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/pasb_bot/32/518268_2.png) [@PASB\_BOT](https://forum.uipath.com/u/PASB_BOT)\
**Post date:** [December 8, 2023, 12:12pm UTC](https://forum.uipath.com/t/python-activity-invoke-python-method/470980/23 "2023-12-08T12:12:02Z")

</div>

hi, my problem solved by install openpyxl. open cmd, type “pip install openpyxl”. Then run again and SUCCESS!!

---

<div class="post-metadata">

**Author:** ![Seyedhossein\_AKRAMI](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/seyedhossein_akrami/32/401688_2.png) [@Seyedhossein\_AKRAMI](https://forum.uipath.com/u/Seyedhossein_AKRAMI)\
**Post date:** [April 17, 2024, 3:26pm UTC](https://forum.uipath.com/t/python-activity-invoke-python-method/470980/24 "2024-04-17T15:26:58Z")

</div>

@jeevith Hello  
How can I ask you a private question in this forum chat ?

[Previous page](https://forum.uipath.com/t/python-activity-invoke-python-method/470980.md?page=1)
