Hallo Allerseits,
ich bin neu hier und brauche eure Hilfe.
Also ich versuche gerade ein tkinter Programm auf dem Betriebssystem PiCore zu starten (http://tinycorelinux.net/13.x/armv7/)
Das Programm funktioniert 100% auf andere Linux distributionen.
Leider bekomme ich die Fehlermeldung auf dem Betriebssystem PiCore armv7 ("import _tkinter # If this fails your Python may not be configured for Tk"), obwohl ich schon tk and tcl schon installiert habe.
Die Administratoren vom Forum TinyCore vermuten, dass python2.7, python3.8 and python3.9 sind nicht für tk kompiliert ist.
Antwort vom Admin: As per the *tcz.list files in piCore-13.x armv7, python2.7, python3.8 and python3.9 do not contain _tkinter*.so, so I would guess (I may be wrong) that they were not compiled against tk.
Drop the python maintainer a pm to request if they could recompile python against tk.
Hier einmal der Link für das Thread "http://forum.tinycorelinux.net/index.ph ... 39.15.html"
Kann jemand helfen ?
Danke im Voraus!
Python may not be configured for Tk
- __blackjack__
- User
- Beiträge: 13114
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@rabie: Ich würde mal schauen ob es nicht ein `python-tkinter`-Paket (oder `python3-tkinter` oder so ähnlich) gibt, denn die meisten Linux-Distros lagern das in ein eigenes Paket aus, damit man auf einem System ohne grafische Oberfläche Python installieren kann, ohne dass das einen X-Server (o.ä.) als Abhängigkeit nach sich zieht. So etwas will man auf einem reinen Server in der Regel ja beispielsweise nicht haben.
„All religions are the same: religion is basically guilt, with different holidays.” — Cathy Ladman