# Python scripts error (Process Studio)

**URL:** <https://community.automationedge.com/t/python-scripts-error-process-studio/3570>\
**Category:** Process Studio\
**Tags:** rpa\
**Created:** [June 8, 2021, 12:49am UTC](https://community.automationedge.com/t/python-scripts-error-process-studio/3570 "2021-06-08T00:49:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![douglasf](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@douglasf](https://community.automationedge.com/u/douglasf)\
**Post date:** [June 8, 2021, 12:49am UTC](https://community.automationedge.com/t/python-scripts-error-process-studio/3570/1 "2021-06-08T00:49:21Z")

</div>

Hello guys,

It’s my first topic in this forum, and i’m new in AE development.  
I need a help to use python scripts in Process Studio 6.1.1.  
When i create a script, my RPA don’t run. The logging shows me this following error:  
“java.io.IOException: Was unable to start python server”  
“Was unable to start python server”

Basically, my script will open some python libraries to automate windows cmd openning (i’m still don’t know how can i do this only using the Process Studio)  
I have python installed in machine, and already used to develope some scripts.

I’m glad if someone can help me with this.

My regards.

---

<div class="post-metadata">

**Author:** ![fbaldin](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/fbaldin/32/99_2.png) [@fbaldin](https://community.automationedge.com/u/fbaldin)\
**Post date:** [June 8, 2021, 1:03pm UTC](https://community.automationedge.com/t/python-scripts-error-process-studio/3570/2 "2021-06-08T13:03:46Z")

</div>

Hi, Why don’t you use Powershell Step in the Scripting folder in studio?  
Is a native windows language for cmd commands.

---

<div class="post-metadata">

**Author:** ![pranav.sharma](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@pranav.sharma](https://community.automationedge.com/u/pranav.sharma)\
**Post date:** [April 5, 2022, 5:35am UTC](https://community.automationedge.com/t/python-scripts-error-process-studio/3570/3 "2022-04-05T05:35:59Z")

</div>

Hello @douglasf !  
Pre-requisite for Execute Python Script plugin:  
Since you are using an older version of AutomationEdge Process Studio, install **python 3.6.1** on your machine.

You can install Python 3.6.1 by either downloading executable from the below link:  
[Python 3.6.1](https://www.python.org/downloads/release/python-361/)

**OR**

Request for **Python36.zip** from AutomationEdge Support and install python by following steps given in the AutomationEdge guide.

Command to install required python modules:  
If Python 3.6.1 setup was done **using an executable** then,  
**pip install pandas**  
**pip install pyxlsb**

If Python 3.6.1 setup was done **using Python36.zip** then,  
**"d:\Python36\python.exe" “d:\Python36\Scripts\pip.exe” install pandas**  
**"d:\Python36\python.exe" “d:\Python36\Scripts\pip.exe” install pyxlsb**

This should ideally resolve the error of “ **Was unable to start python server** ”.  
Because the reason for above error is either  
Environment paths for python are not properly set.  
or  
There is some zombie python process which is still running in the system and you are trying to start a new python process over top of it.  
or  
Python setup is corrupted.
