# Python scope activity properties not set. How to set and how to run python script just "Hello Python". please help me."

**URL:** <https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421>\
**Category:** Activities\
**Tags:** tools, question, studio, python, activities\
**Created:** [August 1, 2024, 6:02am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421 "2024-08-01T06:02:25Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![viralkumar\_kathrotiya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viralkumar_kathrotiya/32/416372_2.png) [@viralkumar\_kathrotiya](https://forum.uipath.com/u/viralkumar_kathrotiya)\
**Post date:** [August 1, 2024, 6:02am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/1 "2024-08-01T06:02:25Z")

</div>

![Screenshot (76)](https://global.discourse-cdn.com/uipath/original/4X/e/3/5/e35132a84cd01fd4ec054ba05295ef8ca45dcb84.png)  
 ![The image shows the UiPath Studio Community interface with a Python process open, displaying an activity to load and invoke a Python script with parameters, and an expression editor window in the foreground. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/3/e/e/3ee1e44b72605e8f02ba91fa59410b86792b05fd.png)  
 ![Screenshot (79)](https://global.discourse-cdn.com/uipath/original/4X/d/2/9/d29d85695ddb888e66cc0fafdd6112e04ff461cd.png)  
 ![Screenshot (78)](https://global.discourse-cdn.com/uipath/original/4X/5/c/f/5cfa90b124a7b2c99ece867030470db42757b8cc.png)  
 ![Screenshot (77)](https://global.discourse-cdn.com/uipath/original/4X/9/1/c/91cc7a7c4c6d21e5914685a836630b310cde8a41.png)

I already mentioned screenshot in the mention already.

---

<div class="post-metadata">

**Author:** ![lrtetala](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@lrtetala](https://forum.uipath.com/u/lrtetala)\
**Post date:** [August 1, 2024, 6:03am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/2 "2024-08-01T06:03:50Z")

</div>

Hi @viralkumar_kathrotiya

Check this

> [@How to run a python script with entering arguments](https://forum.uipath.com/t/how-to-run-a-python-script-with-entering-arguments/531243/5):
>
> Check this example for a Windows project with VB language. In the Studio machine install Python 3.10.10 64-bit from here [https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe](https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe) . After installing it, you need to restart the machine. In the Studio machine, for Windows projects, the Python Scope activity requires you to install the [.NET Desktop Runtime 5.0.17](https://dotnet.microsoft.com/en-us/download/dotnet/5.0). After installing it, you need to restart the machine. In your project add the UiPath.Python.Activities[1.6.0] package. …

Regards,

---

<div class="post-metadata">

**Author:** ![viralkumar\_kathrotiya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viralkumar_kathrotiya/32/416372_2.png) [@viralkumar\_kathrotiya](https://forum.uipath.com/u/viralkumar_kathrotiya)\
**Post date:** [August 1, 2024, 6:07am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/3 "2024-08-01T06:07:44Z")

</div>

My python version is below attached.

![image](https://global.discourse-cdn.com/uipath/original/4X/3/1/5/3150ce13fff5c4b876ae638e354630e47daf825d.png)

It is not worked?

---

<div class="post-metadata">

**Author:** ![lrtetala](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@lrtetala](https://forum.uipath.com/u/lrtetala)\
**Post date:** [August 1, 2024, 6:10am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/4 "2024-08-01T06:10:10Z")

</div>

@viralkumar_kathrotiya

You can use that version

 ![image](https://global.discourse-cdn.com/uipath/original/4X/a/1/1/a11b913f6d19e075615b8e980612a6a286fc984c.png)  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/8/d/4/8d4c066d8f6bb2924a67d2953f6c88f6ea64aca3.png)

> **[Activities - About the Python activity package](https://docs.uipath.com/activities/other/latest/developer/about-the-python-activities-pack)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> **[Activities - Activities](https://docs.uipath.com/activities/other/latest/developer/python-activities)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> **[Activities - Python how-to guides](https://docs.uipath.com/activities/other/latest/developer/python-how-to-guides)**
>
> The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...

> [@Python 64 bit compatibility with UiPath Studio 2018.4.0](https://forum.uipath.com/t/python-64-bit-compatibility-with-uipath-studio-2018-4-0/80767/6):
>
> hey @pratosha.hegde Just use this path and better to set Auto in version selection. C:\Users\hegdepra\AppData\Local\Programs\Python\Python35\ one thing - The Above path is not look good. Python installed on your system? if it is show it should be like C:\Python36\_64 or if you will have installed with Visual Studio then path will be like "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36\_64" but if your python.exe is there exists that use that path how i mentioned above. Let…

Regards,

---

<div class="post-metadata">

**Author:** ![viralkumar\_kathrotiya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viralkumar_kathrotiya/32/416372_2.png) [@viralkumar\_kathrotiya](https://forum.uipath.com/u/viralkumar_kathrotiya)\
**Post date:** [August 1, 2024, 6:16am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/5 "2024-08-01T06:16:38Z")

</div>

It’s not worked?

![image](https://global.discourse-cdn.com/uipath/original/4X/c/3/9/c39792e235cc3ea3aebbc56ba6324f9ed6fa50af.png)

![image](https://global.discourse-cdn.com/uipath/original/4X/5/3/0/530ca9fb36b5425c4800ec62ef854283eda00fe1.png)

![image](https://global.discourse-cdn.com/uipath/original/4X/f/6/d/f6d82ae9787bc06b51223748687583324f2a7203.png)

---

<div class="post-metadata">

**Author:** ![lrtetala](https://avatars.discourse-cdn.com/v4/letter/l/e19b73/32.png) [@lrtetala](https://forum.uipath.com/u/lrtetala)\
**Post date:** [August 1, 2024, 8:03am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/6 "2024-08-01T08:03:24Z")

</div>

@viralkumar_kathrotiya

Can you try the below xaml

[Python.zip](https://forum.uipath.com/uploads/short-url/m2Hqn2cRtQ0XwjlXmto1bnrodtT.zip) (79.2 KB)

Regards,

---

<div class="post-metadata">

**Author:** ![viralkumar\_kathrotiya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viralkumar_kathrotiya/32/416372_2.png) [@viralkumar\_kathrotiya](https://forum.uipath.com/u/viralkumar_kathrotiya)\
**Post date:** [August 1, 2024, 8:13am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/7 "2024-08-01T08:13:43Z")

</div>

It’s stuck, Path does change after stuck.

 ![This image shows a UiPath Studio project with a main workflow that includes a Python Scope activity, which loads a Python script, invokes a Python method, retrieves a Python object, and displays a message box with the result. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/2/7/a/27acf5728eeca5ae99e3b588c05fc90bee7c666c.png)

---

<div class="post-metadata">

**Author:** ![ashokkarale](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ashokkarale/32/474400_2.png) [@ashokkarale](https://forum.uipath.com/u/ashokkarale)\
**Post date:** [August 1, 2024, 11:00am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/8 "2024-08-01T11:00:36Z")

</div>

@viralkumar_kathrotiya,

Your Python version is beyond 3.12 Downgrade it to 3.12 or less  
Once done then, check if you have installed .NetRuntime 6.0 from here.

> **[Download .NET 6.0 (Linux, macOS, and Windows)](https://dotnet.microsoft.com/en-us/download/dotnet/6.0#:~:text=winget%20instructions-,.NET%20Runtime%206.0.32,-The%20.NET%20Runtime)**
>
> .NET 6.0 downloads for Linux, macOS, and Windows. .NET is a free, cross-platform, open-source developer platform for building many different types of applications.

Thanks,  
Ashok 🙂

---

<div class="post-metadata">

**Author:** ![viralkumar\_kathrotiya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viralkumar_kathrotiya/32/416372_2.png) [@viralkumar\_kathrotiya](https://forum.uipath.com/u/viralkumar_kathrotiya)\
**Post date:** [August 1, 2024, 11:03am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/9 "2024-08-01T11:03:21Z")

</div>

Now 10.8 installed. But still facing same issue.

---

<div class="post-metadata">

**Author:** ![ashokkarale](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ashokkarale/32/474400_2.png) [@ashokkarale](https://forum.uipath.com/u/ashokkarale)\
**Post date:** [August 1, 2024, 11:03am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/10 "2024-08-01T11:03:54Z")

</div>

@viralkumar_kathrotiya,

Ok what about the .Net Runtime?

---

<div class="post-metadata">

**Author:** ![viralkumar\_kathrotiya](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/viralkumar_kathrotiya/32/416372_2.png) [@viralkumar\_kathrotiya](https://forum.uipath.com/u/viralkumar_kathrotiya)\
**Post date:** [August 1, 2024, 11:05am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/11 "2024-08-01T11:05:41Z")

</div>

Dot Net version is above 6

---

<div class="post-metadata">

**Author:** ![ashokkarale](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ashokkarale/32/474400_2.png) [@ashokkarale](https://forum.uipath.com/u/ashokkarale)\
**Post date:** [August 1, 2024, 11:27am UTC](https://forum.uipath.com/t/python-scope-activity-properties-not-set-how-to-set-and-how-to-run-python-script-just-hello-python-please-help-me/757421/12 "2024-08-01T11:27:05Z")

</div>

@viralkumar_kathrotiya,

Install .NET Runtime 6.0.32 specifically and retry.
