# Running python through uipath

**URL:** <https://forum.uipath.com/t/running-python-through-uipath/83240>\
**Category:** Help\
**Tags:** python, excel, activities\
**Created:** [December 19, 2018, 8:25am UTC](https://forum.uipath.com/t/running-python-through-uipath/83240 "2018-12-19T08:25:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjin2](https://avatars.discourse-cdn.com/v4/letter/m/6bbea6/32.png) [@mjin2](https://forum.uipath.com/u/mjin2)\
**Post date:** [December 19, 2018, 8:25am UTC](https://forum.uipath.com/t/running-python-through-uipath/83240/1 "2018-12-19T08:25:38Z")

</div>

I’m trying to alter some excel features through python and then run the script in UiPath. The python script runs effectively while using python.exe. However, I got an error when using the Load Python Script activity saying that “error loading python script. Exception type: System.InvalidOperationException.” What should I do to solve this problem
