Open ahpu2014 opened 4 years ago
Can you give more context, for example the full text of the exception with trace and line number?
Thanks,
Marek
HI,
How do I run imageDemo.py without encountering error.
The error message is;
Traceback (most recent call last):
File "C:\Users\xpert\Desktop\Data Analysis\Python Programming\Coding Files\C8Ex8 - ImageDemo.py", line 42, in
File "C:\Program Files\Python311\Lib\tkinter__init.py", line 4130, in init Image.init__(self, 'photo', name, cnf, master, **kw)
File "C:\Program Files\Python311\Lib\tkinter__init.py", line 4075, in init__ self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.TclError: couldn't recognize data in image file "image/ca.gif"
Hi, when I run ImageDemo.py ,some mistakes always happen. eg:ValueError: mismatch: parameter has shape (256, 2) but value to set has shape (256, 3136) Thanks for your reply!