• Register

Error pri uvozu modula: invalid or missing encoding declaration

+5 votes
200 views

Takole izpiše Error, mogoče kdo ve za kaj gre?

asked Dec 27, 2015 by Jan Zavodnik (1,060 points)

2 Answers

+3 votes
 
Best answer

V Pycharm-u spremeni encoding na UTF-8 (ta podpira tudi šumnike). To narediš desno spodaj, glej sliko:

 

answered Dec 27, 2015 by blaz (41,550 points)
selected Dec 28, 2015 by blaz
+1 vote
Imaš modul v isti mapi kjer imaš shranjen seminar?
answered Dec 27, 2015 by tomi (1,180 points)
Imam, in sem tudi ugotovil, da je problem š,ž,š, ki se ne sme nikjer pojaviti v modulu :)
...