Skip to content

ImportError: DLL load failed on Pillow-9.3.0-cp37-cp37m-win_amd64.whl #6701

@cgohlke

Description

@cgohlke
> py -3.7 -m pip install Pillow
Collecting Pillow
  Downloading Pillow-9.3.0-cp37-cp37m-win_amd64.whl (2.5 MB)
     |████████████████████████████████| 2.5 MB 1.6 MB/s
Installing collected packages: Pillow
Successfully installed Pillow-9.3.0

> py -3.7
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import _imagingft
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.

_imagingft.cp37-win_amd64.pyd depends on VCRUNTIME140_1.dll, which is not included with Python 3.7 and no longer included with Pillow wheels.

Solved by installing the Microsoft Visual C++ Redistributable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions