Hi @Mukherjee_Suvantan and @arjunshenoy,
Please review this thread and particularly this post.
I circumvent the Python Activities now as it has not been stable in my experiments. Use Start-Process activity to achieve your goal. Somethings may need a workaround in your code. Depending on your application you have to design the integration between the output from Start-Process (python script) and UiPath.