# Error while invoking Python script "Error loading Python Script"

**URL:** <https://forum.uipath.com/t/error-while-invoking-python-script-error-loading-python-script/354410>\
**Category:** Activities\
**Tags:** completed, studio, python, activities\
**Created:** [October 20, 2021, 7:53am UTC](https://forum.uipath.com/t/error-while-invoking-python-script-error-loading-python-script/354410 "2021-10-20T07:53:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![loginerror](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/loginerror/32/22614_2.png) [@loginerror](https://forum.uipath.com/u/loginerror)\
**Post date:** [October 23, 2021, 7:45am UTC](https://forum.uipath.com/t/error-while-invoking-python-script-error-loading-python-script/354410/3 "2021-10-23T07:45:11Z")

</div>

Hi @VinayTiwari

Could you please do the simple check as explained in this post?

> [@Load Python Script: One or more errors occurred](https://forum.uipath.com/t/load-python-script-one-or-more-errors-occurred/264497/23):
>
> A bit of extra info here. The Python activities are invoked regardless of context, using only the Windows environment variables. If, for some reason, a certain path is not set or if a certain Python package is only available in a certain environment (e.g. in the Miniconda console you used to install a certain version of Python), then the script execution will fail. As a simple verification, you should be able to run the script using nothing but the Windows Command Prompt. \<path to python.exe\> …

---

_[View the full topic](https://forum.uipath.com/t/error-while-invoking-python-script-error-loading-python-script/354410)._
