Theme demo UI bug
MoGHenry opened this issue · 2 comments
Desktop (please complete the following information):
Version: 1.10.1
Describe the bug
When try to run the python -m ttkbootstrap
in terminal, the error will occur.
To Reproduce
- Go to Terminal
- Run
python -m ttkbootstrap
- See error
Expected behavior
open the ttkbootstrap's theme demo UI
Screenshots
Additional context
By changing the Image.CUBIC
to Image.BICUBIC
in line 856 in widgets.py will fix this issue
This is due to an incompatibility between ttkbootstrap and newer versions of the Pillow library. I'm not sure what operating system you're using, but to resolve this issue on your machine, follow these steps:
-
Uninstall the Pillow library:
Example:
pip uninstall pillow
-
Now reinstall the library, but specify a supported version:
Example:
pip install pillow==8.2.0
-
Finally, run:
python3 -m ttkcreator
I could have provided more specific instructions if you had provided information about your operating system.
I hope this helps resolve the issue 😄.
This is due to an incompatibility between ttkbootstrap and newer versions of the Pillow library. I'm not sure what operating system you're using, but to resolve this issue on your machine, follow these steps:
Uninstall the Pillow library:
Example:
pip uninstall pillow
Now reinstall the library, but specify a supported version:
Example:
pip install pillow==8.2.0
Finally, run:
python3 -m ttkcreator
I could have provided more specific instructions if you had provided information about your operating system.
I hope this helps resolve the issue 😄.
thanks for your reply, my os is Windows 11