creating custom themes in tkinter [ with ttkbootstrap ]

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 6

  • @mohdsarim4671
    @mohdsarim4671 11 หลายเดือนก่อน +3

    for some reason i am getiting this error and havent found any silotion when running the python -m ttkcreator command .... the error is AttributeError: module 'PIL.Image' has no attribute 'CUBIC'. Did you mean: 'BICUBIC'?

    • @gobsmacked1457
      @gobsmacked1457 10 หลายเดือนก่อน +6

      Having the same problem but solved by the following way:
      1. Opened my python env folder and went to env\Lib\site-packages\ttkbootstrap
      2. opened the widgets.py file
      3. On line 856 (or search for Image.CUBIC) I changed the text from Image.CUBIC to Image.BICUBIC
      4. python -m ttkcreator
      Using:
      Pillow==10.1.0
      ttkbootstrap==1.10.1

    • @Joshinthetronk
      @Joshinthetronk 9 หลายเดือนก่อน

      I did the same, and it worked out!@@gobsmacked1457

  • @IAMTHESWORDtheLAMBHASDIED
    @IAMTHESWORDtheLAMBHASDIED ปีที่แล้ว +3

    argh for some reason I couldn't get the Save//the whole menu is non-existent on my macbook LOL? whyyyy???? :D

  • @rajaryan7167
    @rajaryan7167 ปีที่แล้ว

    keep it up, thanks