WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: python3.9-pillow will not load due to missing dependency  (Read 89 times)

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1566
python3.9-pillow will not load due to missing dependency
« on: March 04, 2025, 01:36:07 PM »
This is on TCL16.0beta1 x86_64:

Code: [Select]
$ tce-load -wil python3.9-pillow
python3.9-pillow.tcz.dep OK
Downloading: python3.9-olefile.tcz
Connecting to repo.tinycorelinux.net (128.127.66.77:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: python3.9-olefile.tcz.md5.txt: No such file or directory
Error on python3.9-olefile.tcz
It's not just that the md5.txt file is missing. python3.9-olefile.tcz does not exist in the repo.


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11918
Re: python3.9-pillow will not load due to missing dependency
« Reply #1 on: March 04, 2025, 01:57:15 PM »
Hi GNUser
python3.9-olefile.tcz  is in the TC15 x86_64 repo. See if that
works. Not copying it over may just have been an oversight.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15007
Re: python3.9-pillow will not load due to missing dependency
« Reply #2 on: March 04, 2025, 02:00:37 PM »
It should be fixed now - thanks for pointing this out

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1566
Re: python3.9-pillow will not load due to missing dependency
« Reply #3 on: March 04, 2025, 02:18:20 PM »
Yes, now it loads but seems to be too old for my application:

Code: [Select]
...
  File "/usr/local/lib/python3.9/site-packages/PIL/ImageCms.py", line 33, in <module>
    from . import _imagingcms as core
ImportError: cannot import name '_imagingcms' from 'PIL' (/usr/local/lib/python3.9/site-packages/PIL/__init__.py)

There are some commits to Pillow in late 2024 having to do with this file (ImageCms.py). It would be nice if python3.9-pillow.tcz could be updated for TCL16. If there's no time, no worries--I'll find a workaround.

Ref: https://github.com/python-pillow/Pillow/blob/main/src/PIL/ImageCms.py