# How to work with Python applications and modules in Yocto Project

**URL:** <https://hub.mender.io/t/how-to-work-with-python-applications-and-modules-in-yocto-project/1135>\
**Category:** Yocto Project\
**Created:** [October 10, 2019, 12:39pm UTC](https://hub.mender.io/t/how-to-work-with-python-applications-and-modules-in-yocto-project/1135 "2019-10-10T12:39:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![HerrMuellerluedensch](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/herrmuellerluedensch/32/513_2.png) [@HerrMuellerluedensch](https://hub.mender.io/u/HerrMuellerluedensch)\
**Post date:** [February 28, 2020, 3:48pm UTC](https://hub.mender.io/t/how-to-work-with-python-applications-and-modules-in-yocto-project/1135/4 "2020-02-28T15:48:50Z")

</div>

Hey,  
I remember doing this tutorial a few days ago and it worked. However, now, I worked on the stargazer image a little (basically following [the systemd tutorial](https://hub.mender.io/t/how-to-create-your-first-recipe-and-enable-auto-start-using-systemd/1195/8). When I add `python3` again, start qemu and try to start python it fails:

```
root@qemux86-64:~# python3
[56.914963] traps: python3[315] trap invalid opcode ip:7f7f73325686 sp:7ffe8025d930 error:0 in libpython3.7m.so.1.0[7f7f731e2000+1bc000]
Illegal instruction

```

Do you have a hint on how to debug this?

---

_[View the full topic](https://hub.mender.io/t/how-to-work-with-python-applications-and-modules-in-yocto-project/1135)._
