ParthJadhav / Tkinter-Designer

An easy and fast way to create a Python GUI 🐍
BSD 3-Clause "New" or "Revised" License
8.63k stars 794 forks source link

Pillow Error Help #366

Open Uygar1234 opened 8 months ago

Uygar1234 commented 8 months ago

How to Fix ?

pip install tkdesigner Collecting tkdesignerNote: you may need to restart the kernel to use updated packages.

Downloading tkdesigner-1.0.7-py3-none-any.whl (14 kB) Collecting Jinja2==3.0.1 (from tkdesigner) Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB) ---------------------------------------- 0.0/133.7 kB ? eta -:--:-- -------- ------------------------------ 30.7/133.7 kB 1.3 MB/s eta 0:00:01 -------------------------------- ----- 112.6/133.7 kB 1.6 MB/s eta 0:00:01 -------------------------------------- 133.7/133.7 kB 1.3 MB/s eta 0:00:00 Collecting Pillow<9.0.0,>=8.4.0 (from tkdesigner) Downloading Pillow-8.4.0.tar.gz (49.4 MB) ---------------------------------------- 0.0/49.4 MB ? eta -:--:-- ---------------------------------------- 0.1/49.4 MB 6.8 MB/s eta 0:00:08 ---------------------------------------- 0.2/49.4 MB 3.8 MB/s eta 0:00:13 ---------------------------------------- 0.4/49.4 MB 3.1 MB/s eta 0:00:16 ---------------------------------------- 0.5/49.4 MB 3.5 MB/s eta 0:00:14 --------------------------------------- 1.0/49.4 MB 5.0 MB/s eta 0:00:10

This version of python seems to be incorrectly compiled (internal generated filenames are not absolute). This may make the debugger miss breakpoints. Related bug: http://bugs.python.org/issue1666807

barandenizdogan commented 8 months ago

Try to update wheel with python -m pip install -U wheel setuptools

x0bi3 commented 8 months ago

Hi, I was in the middle of writing a post bringing yet another problem to the table... Somehow, I think I found the fix.

Enter pip install Pillow==10.1.0 to download the latest one manually. It seems like the requirements.txt sticks to the 9.4 version, and downloading the outdated version of Pillow isn't allowing it to identify zlib properly.

Hope it helps, good luck!

WexeI commented 7 months ago

Maybe you mean pip install tkdesigner Pillow==10.1.0 ?