-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: DLL load failed on Pillow-9.3.0-cp37-cp37m-win_amd64.whl #6701
Comments
I checked I've now checked all pyd files with Checking the lib files, the dependency seems to be coming from HarfBuzz due to a new default setting in Visual Studio. I've disabled the setting in nulano@76b9975. Could you please test the wheels from this build, https://github.com/nulano/Pillow/actions/runs/3352301197 (I've attached the 3.7 wheel below)? |
FWIW, I've just checked the wheel from my previous comment in Windows Sandbox and it seems to fix the issue. |
Another FWIW, testing installing a wheel on GHA's |
The redistributable library is not installed on Windows by default, but is installed on GHA as part of Visual Studio. This issue is very similar to #5573. Unlike that issue, wheels from GHA do not include LERC yet. I have tested the wheels from #6702 in a similar way as #5573 (comment), except manually. (I also have a WIP automatic test that could be added to GHA, but ran out of time before the release.) My suggestion would be to upload the wheels from the build of #6702 in my repository (so that the Pillow version number is correct) with a build tag, similarly to #5573 (comment). You might prefer to wait for @cgohlke to confirm I didn't miss anything else. |
#6702 has now been merged, and I've uploaded Python 3.7 wheels for Windows for PyPI, combining Pillow 9.3.0 with that PR. |
_imagingft.cp37-win_amd64.pyd
depends onVCRUNTIME140_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.
The text was updated successfully, but these errors were encountered: