# Python Code in uipath

**URL:** <https://forum.uipath.com/t/python-code-in-uipath/846454>\
**Category:** Studio\
**Tags:** extension, question, studio, python, activities\
**Created:** [January 30, 2025, 7:31am UTC](https://forum.uipath.com/t/python-code-in-uipath/846454 "2025-01-30T07:31:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![satyam\_verma](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/satyam_verma/32/293932_2.png) [@satyam\_verma](https://forum.uipath.com/u/satyam_verma)\
**Post date:** [January 30, 2025, 7:31am UTC](https://forum.uipath.com/t/python-code-in-uipath/846454/1 "2025-01-30T07:31:21Z")

</div>

i am getting this error…while adding an activity - Python Scope.  
i am having python version of python 3.13  
error which i am getting is “Python Scope: Error initializing Python engine”

---

<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:** [January 30, 2025, 7:44am UTC](https://forum.uipath.com/t/python-code-in-uipath/846454/2 "2025-01-30T07:44:09Z")

</div>

@satyam_verma,

Python activities in UiPath supports till Python version 3.12 only.

 ![This image displays an important notice about the open-source availability and compatibility of a Python activity package, mentioning GitHub repositories and support for Python versions 3.12 and lower. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/5/0/3/503c0c7ab73bcfd58c7a7448de62d1d5292431e7.png)

Refer this documentation.

> **[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...

---

<div class="post-metadata">

**Author:** ![singh\_sumit](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@singh\_sumit](https://forum.uipath.com/u/singh_sumit)\
**Post date:** [January 30, 2025, 7:45am UTC](https://forum.uipath.com/t/python-code-in-uipath/846454/3 "2025-01-30T07:45:10Z")

</div>

Hey @satyam_verma Try to Downgrade the Python version 3.10 or 3.11  
and check with that . because you are trying with the latest one that

 ![The image provides important information about the Python activity package, stating it is open-source with a link to GitHub repositories, and it is compatible with Python versions 3.12 and lower. (Captioned by AI)](https://global.discourse-cdn.com/uipath/original/4X/1/1/c/11cb37142f5c090db594c65718724b10facd05b7.png)

as you can see with UiPath Document .

cheers
