LoginSignup
0
0

More than 1 year has passed since last update.

画像読み込みでエラー(Python)

Posted at

画像読み込みでエラー

C:/Users/〇〇〇/Desktop/PythonTest/ああああ.jpg
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\〇〇〇\anaconda3\lib\tkinter_init.py", line 1892, in __call_
return self.func(*args)
File "C:\Users\〇〇〇\Desktop\0MeasureJudge.py", line 1728, in
exitButton = tk.Button(win,text="画像を読込",command = lambda:openImg(1))
AttributeError: 'NoneType' object has no attribute 'shape'

結論。
読み込もうとした画像ファイル名が日本語のためエラー。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0