hallo,
wir arbeiten in der schule mit python/niko und pythonwin, klappt auch alles ganz gut.
ich hab jetzt python/ pythonwin und niko auf meinem pc installiert, wenn ich damit arbeiten will kommt folgende meldung:
Traceback (most recent call last):
File "D:\Python23\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
exec codeObject in __main__.__dict__
File "D:\Python23\niko\pypath\nikoti.py", line 214, in ?
MeinBildschirm=BenutzerInterface(MeineWelt)
File "D:\Python23\niko\pypath\nikoti.py", line 26, in __init__
self.image.append(Tkinter.PhotoImage(file=self.bilder+"/robi.gif0"))
File "D:\Python23\lib\lib-tk\Tkinter.py", line 3176, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "D:\Python23\lib\lib-tk\Tkinter.py", line 3132, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
TclError: couldn't open "set niko_inst=d:\python23\niko\inst/robi.gif0": no such file or directory
ich habe es auf zwei rechnern probiert, win XP
die umgebungsvariablen hab ich auch gesetzt
python niko
-
- Python-Forum Veteran
- Beiträge: 2010
- Registriert: Freitag 11. Oktober 2002, 18:00
- Wohnort: Salzburg
- Kontaktdaten:
Hi dag,
schaut aus als ob dir da ein bildchen "d:\python23\niko\inst/robi.gif0" fehlt
bzw es wird der Pfad in "D:\Python23\niko\pypath\nikoti.py" in Zeile 26 falsch zusammengesetzt, dort sollte es heissen:
Gruß
Dookie
schaut aus als ob dir da ein bildchen "d:\python23\niko\inst/robi.gif0" fehlt
bzw es wird der Pfad in "D:\Python23\niko\pypath\nikoti.py" in Zeile 26 falsch zusammengesetzt, dort sollte es heissen:
Code: Alles auswählen
self.image.append(Tkinter.PhotoImage(file=os.path.join(self.bilder,"robi.gif0")))
Dookie
[code]#!/usr/bin/env python
import this[/code]
import this[/code]
hallo und danke erstmal,
nach neuinstallation (auf dem alten gings auch nicht):
nach einfügen der zeile 26 kommt diese fehlermeldung:
Traceback (most recent call last):
File "C:\PROGRA~1\Python\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
exec codeObject in __main__.__dict__
File "C:\Programme\Python\niko\pypath\nikoti.py", line 214, in ?
MeinBildschirm=BenutzerInterface(MeineWelt)
File "C:\Programme\Python\niko\pypath\nikoti.py", line 26, in __init__
self.image.append(Tkinter.PhotoImage(file=os.path.join(self.bilder,"robi.gif0")))
File "C:\PROGRA~1\Python\lib\lib-tk\Tkinter.py", line 3176, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "C:\PROGRA~1\Python\lib\lib-tk\Tkinter.py", line 3132, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
TclError: couldn't open "set niko_inst=c:\programme\python\niko\inst\robi.gif0": no such file or directory
ich weiß echt nicht was ich tun soll
nach neuinstallation (auf dem alten gings auch nicht):
nach einfügen der zeile 26 kommt diese fehlermeldung:
Traceback (most recent call last):
File "C:\PROGRA~1\Python\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
exec codeObject in __main__.__dict__
File "C:\Programme\Python\niko\pypath\nikoti.py", line 214, in ?
MeinBildschirm=BenutzerInterface(MeineWelt)
File "C:\Programme\Python\niko\pypath\nikoti.py", line 26, in __init__
self.image.append(Tkinter.PhotoImage(file=os.path.join(self.bilder,"robi.gif0")))
File "C:\PROGRA~1\Python\lib\lib-tk\Tkinter.py", line 3176, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "C:\PROGRA~1\Python\lib\lib-tk\Tkinter.py", line 3132, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
TclError: couldn't open "set niko_inst=c:\programme\python\niko\inst\robi.gif0": no such file or directory
ich weiß echt nicht was ich tun soll
hallo,
ich denke das die installation vollständig ist.
wenn ich im ordner nachsehe so ist dort das bild robi.gif0
vielleicht liegt das am xp
ich denke das die installation vollständig ist.
wenn ich im ordner nachsehe so ist dort das bild robi.gif0
vielleicht liegt das am xp