# Uipath.python.host

**URL:** <https://forum.uipath.com/t/uipath-python-host/416256>\
**Category:** Studio\
**Tags:** python, activities\
**Created:** [April 19, 2022, 3:25pm UTC](https://forum.uipath.com/t/uipath-python-host/416256 "2022-04-19T15:25:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreus91](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/andreus91/32/101413_2.png) [@andreus91](https://forum.uipath.com/u/andreus91)\
**Post date:** [April 19, 2022, 3:25pm UTC](https://forum.uipath.com/t/uipath-python-host/416256/1 "2022-04-19T15:25:40Z")

</div>

hello everyone,

I have a problem with the UiPath python package, basically inside the process state, in the reframework, I call a script in python for the manipulation of some images.

This works most of the time, while every so often, this thing happens every 30 transactions, the activity “load python script” hangs, without any error message. The only thing I can do in these situations is to kill the activity “UiPath.python.host”, at which point the activity fails and restarts without interruption for a while. Until it happens again.

Now, if it was a script problem it should never work, I have python 3.10 installed x64.

what can be the error?  
Thanks

---

<div class="post-metadata">

**Author:** ![andreus91](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/andreus91/32/101413_2.png) [@andreus91](https://forum.uipath.com/u/andreus91)\
**Post date:** [April 19, 2022, 4:14pm UTC](https://forum.uipath.com/t/uipath-python-host/416256/2 "2022-04-19T16:14:28Z")

</div>

UPDATE:

The error in “load python script activity” is: value cannot be null: parameter name: stream

---

<div class="post-metadata">

**Author:** ![hjina0412](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/hjina0412/32/358921_2.png) [@hjina0412](https://forum.uipath.com/u/hjina0412)\
**Post date:** [June 21, 2023, 4:58am UTC](https://forum.uipath.com/t/uipath-python-host/416256/3 "2023-06-21T04:58:17Z")

</div>

Did you ever solve this problem? I’m having the same problem and it’s quite troubling. There is no error in the Python code, but when I run it with UiPath’s Invoke Python Method, I get the same error as you. If you solved the problem please share.
