# Use zsh, please run \`chsh -s /bin/zsh\`

**URL:** <https://forum.codewithmosh.com/t/use-zsh-please-run-chsh-s-bin-zsh/15525>\
**Category:** Python\
**Created:** [September 30, 2022, 12:31am UTC](https://forum.codewithmosh.com/t/use-zsh-please-run-chsh-s-bin-zsh/15525 "2022-09-30T00:31:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frankgonzaleziv](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@frankgonzaleziv](https://forum.codewithmosh.com/u/frankgonzaleziv)\
**Post date:** [September 30, 2022, 12:31am UTC](https://forum.codewithmosh.com/t/use-zsh-please-run-chsh-s-bin-zsh/15525/1 "2022-09-30T00:31:31Z")

</div>

When I try to run app.py in the terminal I get this error. Please help.

 ![Screen Shot 2022-09-29 at 5.30.55 PM](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/2/2f85c8eb75ce08bf6b38b8f2f373e128526bb3a5.png)

---

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [September 30, 2022, 2:06am UTC](https://forum.codewithmosh.com/t/use-zsh-please-run-chsh-s-bin-zsh/15525/2 "2022-09-30T02:06:10Z")

</div>

You need to run “python app.py” not just “app.py”

The other bit about zsh is just log spam warning you that your default shell is set to something other than zsh (probably bash).

---

<div class="post-metadata">

**Author:** ![frankgonzaleziv](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@frankgonzaleziv](https://forum.codewithmosh.com/u/frankgonzaleziv)\
**Post date:** [September 30, 2022, 5:44am UTC](https://forum.codewithmosh.com/t/use-zsh-please-run-chsh-s-bin-zsh/15525/3 "2022-09-30T05:44:12Z")

</div>

that worked. thanks!
