Hallo zusammen,
ich bin neu hier und versuche gerade meine ersten Schritte in Phyton und dann im Raspberry Pi.
Mein OS ist OSX 10.15 und als Eingabe nutze ich PyCharm.
Ich habe die Phyton Version 3
python3 --version
Python 3.8.2
Und
python --version
Python 2.7.16
auf dem MAC!
Wenn ich nun das .py
import time, tkinter
window = tkinter.Tk()
label=tkinter.Label(master=window,text="Uhrzeit: " + time.asctime())
label.pack()
window.mainloop()
laufen lasse, bekomme ich die Fehlermeldung
"/Users/thomashornsteiner/temp/phyton/Projekte phyton/venv/bin/python" "/Users/thomashornsteiner/temp/phyton/Projekte phyton/time in fenster.py"
2020-03-06 08:27:24.456 Python[3227:61591] Error loading /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: dlopen(/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType, 262): no suitable image found. Did find:
/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: mach-o, but wrong architecture
/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: mach-o, but wrong architecture
2020-03-06 08:27:24.457 Python[3227:61591] Error loading /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: dlopen(/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType, 262): no suitable image found. Did find:
/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: mach-o, but wrong architecture
/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType: mach-o, but wrong architecture
Hat jemand einen Tip?
Vielen Dank
Thomas
wrong architecture - QuickTime
-
- User
- Beiträge: 510
- Registriert: Mittwoch 13. November 2019, 08:38
Ich kenne mich mit OSX nicht aus. Ich schätze aber, dass hier 32 bit und 64 bit Versionen gemischt/verwechselt werden.
Catalina unterstützt keine 32 bit mehr. QuickTime ist aber pur 32 Bit. Und darum auch schon lange abgekündigt. Mir kommt das ein bisschen spanisch vor, wie hast du das Python installiert? Und ist das System ggf. durch ein upgrade entstanden?