A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/astral-sh/python-build-standalone/issues/533 below:

Unable to use Pillow ImageTk module · Issue #533 · astral-sh/python-build-standalone · GitHub

On python-build-standalone Python 3.12 or 3.13 (installed via uv), I tried this with the Pillow library (10.4.0, 11.0.0, 11.1.0; wheels or built from source):

and got the following error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: bad argument type for built-in operation

If that import fails, the PIL.ImageTk module doesn't work properly. _imagingtk is a compiled C module.

Observed on both macOS and Linux (Arch). The import works fine on system / brew installations of Python.

1ttric, pypae, renweibo, johnthagen, davidlengel and 5 morepypae and dishuostec


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4