# Cannot Pickle Model Via Python Scope

**URL:** <https://forum.uipath.com/t/cannot-pickle-model-via-python-scope/342088>\
**Category:** Studio\
**Tags:** workflow-diff, question, studio, python, activities\
**Created:** [September 2, 2021, 1:24pm UTC](https://forum.uipath.com/t/cannot-pickle-model-via-python-scope/342088 "2021-09-02T13:24:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 2, 2021, 5:50pm UTC](https://forum.uipath.com/t/cannot-pickle-model-via-python-scope/342088/2 "2021-09-02T17:50:36Z")

</div>

Hi @Rohaan_Nadeem2

I am not sure if that will solve your issue, but maybe you could have a look at this simple 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/cannot-pickle-model-via-python-scope/342088)._
