Jetzt habe ich alle Programme und die Lib nochmals neu installiert und kann den Code trotzdem nicht kompilieren.

Traceback (most recent call last):
File "python001.py", line 4, in <module>
GPIO.setup(26, GPIO.OUT)
RPi.GPIO.ModeNotSetException: Please set mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)

Professor Google kann mir auch nicht weiterhelfen
So'n sch... aber auch.