# Thonny und Micropython

**URL:** https://forum.calliope.cc/t/thonny-und-micropython/3168
**Category:** Software allgemein
**Created:** [18. Juli 2025 um 08:25 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168 "2025-07-18T08:25:39Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Zibit](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/zibit/32/2672_2.png) [@Zibit](https://forum.calliope.cc/u/Zibit)
#### Post date: [18. Juli 2025 um 08:25 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/1 "2025-07-18T08:25:39Z")

</div>

Nach einigen Hürden hat es endlich geklappt. Micropython aus

> **[GitHub - calliope-edu/micropython-calliope-mini-v3: MicroPython for Calliope mini V3](https://github.com/calliope-edu/micropython-calliope-mini-v3)**
>
> MicroPython for Calliope mini V3

wurde erfolgreich auf einem Raspberry Pi mit Xubuntu 25.04  
für Calliope Mini V3 generiert, und funktioniert sogar mit dem Thonny-Editor

MPY: soft reboot  
MicroPython v1.23.0 on 2025-07-18; micro:bit v2.1.1 with nRF52833  
Type „help()“ for more information.

> > >

Naja, heisst zwar noch micro:bit, aber das sollte nicht stören, weiter  
ohne Web-Editoren zu experimentieren.

Gruß, Karl

---

<div class="post-metadata">

### Author: ![joern.alraun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/joern.alraun/32/7_2.png) [@joern.alraun](https://forum.calliope.cc/u/joern.alraun)
#### Post date: [21. Juli 2025 um 08:24 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/2 "2025-07-21T08:24:49Z")

</div>

Teste doch mal die Datei hier: [update console help · calliope-edu/micropython-calliope-mini-v3@ce082d8 · GitHub](https://github.com/calliope-edu/micropython-calliope-mini-v3/actions/runs/14167624628) dann müsste der Name stimmen.

---

<div class="post-metadata">

### Author: ![Zibit](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/zibit/32/2672_2.png) [@Zibit](https://forum.calliope.cc/u/Zibit)
#### Post date: [21. Juli 2025 um 14:12 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/3 "2025-07-21T14:12:14Z")

</div>

Da wird nur der Name im Helptext geändert, aber nicht der „Modulname“ so daß weiterhin der import auf mircobit  
lautet:  
from microbit import \*

---

<div class="post-metadata">

### Author: ![joern.alraun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/joern.alraun/32/7_2.png) [@joern.alraun](https://forum.calliope.cc/u/joern.alraun)
#### Post date: [22. Juli 2025 um 09:08 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/4 "2025-07-22T09:08:40Z")

</div>

Sicher? Denn der Name ist ja eigentlich schon lange angepasst. Der Text in der Beschreibung wurde als letztes angepasst…

---

<div class="post-metadata">

### Author: ![Zibit](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/zibit/32/2672_2.png) [@Zibit](https://forum.calliope.cc/u/Zibit)
#### Post date: [22. Juli 2025 um 18:09 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/5 "2025-07-22T18:09:05Z")

</div>

Nun, vielleicht jabe ich ja das falsche Repo erwischt. Mit github komme ich noch nicht ganz klar.

---

<div class="post-metadata">

### Author: ![joern.alraun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/joern.alraun/32/7_2.png) [@joern.alraun](https://forum.calliope.cc/u/joern.alraun)
#### Post date: [23. Juli 2025 um 08:24 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/6 "2025-07-23T08:24:13Z")

</div>

Das ist auch gar nicht so einfach zu kompilieren – außerdem musst du den richtigen Branch nehmen. Das sollten wir auch nochmal genauer in die ReadMe schreiben (die stimmt ja auch momentan nicht)… Machen wir!

---

<div class="post-metadata">

### Author: ![Zibit](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/zibit/32/2672_2.png) [@Zibit](https://forum.calliope.cc/u/Zibit)
#### Post date: [1. August 2025 um 10:10 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/7 "2025-08-01T10:10:40Z")

</div>

Hallo Jørn,

mit dem Microbit Micropython habe ich inzwischen das MotionKit zum Laufen gebracht. Dazu gibt es ja auch ein Python Modul, in dem die I2C Adressen und Register beschrieben sind. Die Sensoren des Calliope lassen sich zum Teil, wie in der Microbit Doku beschrieben, ansteuern.

Die 3 RGB-LEDs habe ich bisher nocht nicht zum Leuchten gebracht, weil ich den pin.RGB in Python nicht finden kann.

Hast du einen Tip?

Gruß, Karl

---

<div class="post-metadata">

### Author: ![joern.alraun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/joern.alraun/32/7_2.png) [@joern.alraun](https://forum.calliope.cc/u/joern.alraun)
#### Post date: [1. August 2025 um 11:36 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/8 "2025-08-01T11:36:31Z")

</div>

Das liegt dann daran, dass du noch nicht die Calliope mini MicroPython Version erstellt hast. Nur dein ist der vierte Touch-Pin, Motortreiber und die RGB-LEDs sind aktiviert…

---

<div class="post-metadata">

### Author: ![Zibit](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/zibit/32/2672_2.png) [@Zibit](https://forum.calliope.cc/u/Zibit)
#### Post date: [21. August 2025 um 15:04 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/9 "2025-08-21T15:04:35Z")

</div>

Welcher Branch ist dazu notwendig? Master ist der einzige, der bei mir fehlerfrei durchläuft

---

<div class="post-metadata">

### Author: ![Zibit](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/zibit/32/2672_2.png) [@Zibit](https://forum.calliope.cc/u/Zibit)
#### Post date: [22. August 2025 um 13:33 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/10 "2025-08-22T13:33:06Z")

</div>

Endlich habe ich den richtigen Branch für Calliope Micropython auf github gefunden. Mit minicom komme ich auch ins REPL. ABER mit Thonny hapert es noch.

Hat jemand hier jemand Thonny-Erfahrung?

Gruss, Karl

---------------------minicom ----------------------  
Willkommen zu minicom 2.10

Optionen: I18n  
Port ttyACM0, 15:09:44 [U]

Drücken Sie CTRL-A Z für Hilfe zu speziellen Tasten

MPY: soft reboot  
MicroPython v1.23.0-1.gb7ce7a84a on 2025-08-22; Calliope mini v2.1.2b with nRF52833  
Type „help()“ for more information.

> > > import calliopemini  
> > > import this  
> > > The Zen of MicroPython, by Nicholas H. Tollervey

Code,  
Hack it,  
Less is more,  
Keep it simple,  
Small is beautiful,

Be brave! Break things! Learn and have fun!  
Express yourself with MicroPython.

Happy hacking! 🙂

> > >

------------------- Thonny -----------------------------  
PROBLEM IN THONNY’S BACK-END: Internal error (thonny.plugins.micropython.mp\_back.ManagementError: Script produced errors).  
See Thonny’s backend.log for more info.  
You may need to press „Stop/Restart“ or hard-reset your MicroPython device and try again.

Process ended with exit code 0.

---

<div class="post-metadata">

### Author: ![joern.alraun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/joern.alraun/32/7_2.png) [@joern.alraun](https://forum.calliope.cc/u/joern.alraun)
#### Post date: [25. August 2025 um 10:49 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/11 "2025-08-25T10:49:47Z")

</div>

Hast du diese Version schon mal ausprobiert: [Release v5.0.0a2 · thonny/thonny · GitHub](https://github.com/thonny/thonny/releases/tag/v5.0.0a2)

Da sollte der Calliope mini 3 unterstützt werden.

---

<div class="post-metadata">

### Author: ![joern.alraun](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.calliope.cc/joern.alraun/32/7_2.png) [@joern.alraun](https://forum.calliope.cc/u/joern.alraun)
#### Post date: [26. August 2025 um 12:33 UTC](https://forum.calliope.cc/t/thonny-und-micropython/3168/13 "2025-08-26T12:33:08Z")

</div>

Ah, sorry. Vielleicht hilft das Wiki: [Running from the source · thonny/thonny Wiki · GitHub](https://github.com/thonny/thonny/wiki/Running-from-the-source)
