# Execute python comand on Easymorph Server

**URL:** <https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759>\
**Category:** General Q&A\
**Created:** [July 6, 2022, 2:46pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759 "2022-07-06T14:46:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![edudwhgonzo](https://community.easymorph.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@edudwhgonzo](https://community.easymorph.com/u/edudwhgonzo)\
**Post date:** [July 6, 2022, 2:46pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759/1 "2022-07-06T14:46:42Z")

</div>

Hi there , Im runing a program under Easymorph server enterprise , using a specific account.

When I run a program that execute powershell and invokes python. The comand dont do anything. But if run directly from the IDE or using Easymorph Launcher it works.

Do you have any advice for this behavior ?.  
Im using other comands in powershell and it works fine.

comand :

 ![image](https://community.easymorph.com/uploads/default/original/2X/3/3bfaeca9ffed4cc68fed4b232347cd768144e2bf.png)

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [July 6, 2022, 3:25pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759/2 "2022-07-06T15:25:10Z")

</div>

Use the "Run program" action to run Python scripts instead of PowerShell.

---

<div class="post-metadata">

**Author:** ![edudwhgonzo](https://community.easymorph.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@edudwhgonzo](https://community.easymorph.com/u/edudwhgonzo)\
**Post date:** [July 6, 2022, 3:32pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759/3 "2022-07-06T15:32:49Z")

</div>

Hi Dmitry , just now I change to that option. The problem remains.  
This is an image of the error. Let me know if I have to change something.

 ![image](https://community.easymorph.com/uploads/default/original/2X/5/5c97c86d274f5030b823d38a94514824ecce929c.jpeg)

 ![image](https://community.easymorph.com/uploads/default/original/2X/b/b68cc619bc20740c1530e2eb3e7c85922758ca1b.png)

Best regards

---

<div class="post-metadata">

**Author:** ![edudwhgonzo](https://community.easymorph.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@edudwhgonzo](https://community.easymorph.com/u/edudwhgonzo)\
**Post date:** [July 6, 2022, 3:33pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759/4 "2022-07-06T15:33:56Z")

</div>

I tested using easymorph launcher and it works fine , using run comand. But in the server it show me and error.

 ![image](https://community.easymorph.com/uploads/default/original/2X/6/650e2cf12a801adc4cd13ef7e70a06db7143e4de.png)

---

<div class="post-metadata">

**Author:** ![edudwhgonzo](https://community.easymorph.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@edudwhgonzo](https://community.easymorph.com/u/edudwhgonzo)\
**Post date:** [July 6, 2022, 3:42pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759/5 "2022-07-06T15:42:31Z")

</div>

Hi Dmitry i solve the problem doing this.

 ![image](https://community.easymorph.com/uploads/default/original/2X/b/bd3dbf8d299eca78e89f4b0409a8c92794afe751.png)

Is there and explanation , why using easymorph launcher works with direct configuration ?

Best regards

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [July 6, 2022, 4:03pm UTC](https://community.easymorph.com/t/execute-python-comand-on-easymorph-server/3759/6 "2022-07-06T16:03:36Z")

</div>

The Server runs as a Windows service. The Launcher runs under your Windows account. They have different environment settings.
