You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the error message I get when trying to use meter with python 3.11:
Traceback (most recent call last):
File "C:\Users\raadmin\Documents\weather.py", line 34, in
tempMeter = tb.Meter(root, bootstyle="info",subtextstyle="danger", subtext="Current Temp")
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 718, in init
self._setup_widget()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 759, in _setup_widget
self._draw_meter()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self.metersize), Image.CUBIC)
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\tkinter_init.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 954, in _on_theme_change
self._draw_meter()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self._metersize), Image.CUBIC)
^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Here is the error message I get when trying to use meter with python 3.11:
Traceback (most recent call last):
File "C:\Users\raadmin\Documents\weather.py", line 34, in
tempMeter = tb.Meter(root, bootstyle="info",subtextstyle="danger", subtext="Current Temp")
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 718, in init
self._setup_widget()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 759, in _setup_widget
self._draw_meter()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self.metersize), Image.CUBIC)
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\tkinter_init.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 954, in _on_theme_change
self._draw_meter()
File "C:\Users\raadmin\AppData\Local\Programs\Python\Python311\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
img.resize((self._metersize, self._metersize), Image.CUBIC)
^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'CUBIC'
Beta Was this translation helpful? Give feedback.
All reactions