Hallo!
Wenn ich in Spyder (5.0.1)
import tkinter
aufrufe. Erscheint:
ModuleNotFoundError: No module named '_tkinter'
Das passiert mir in Jyppyter Notebook (6.3.0.) nicht. Dort klappt es ohne Probleme.
Hat jemand eine Idee. Vielen Dank!
Spyder: ModuleNotFoundError: No module named '_tkinter'
- __blackjack__
- User
- Beiträge: 13099
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@drgouda: Wenn Du eine von den ”Standalone”-Versionen installiert hast, dann dürfte da auch Python dabei sein. Dann hast Du jetzt (mindestens) zwei Python-Installationen. Mach mal folgendes jeweils in Spyder und im Jupyter-Notebook:
Code: Alles auswählen
import sys
print(sys.executable)
„All religions are the same: religion is basically guilt, with different holidays.” — Cathy Ladman