Skip to content
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

import skia return ImportError: DLL load failed while importing skia: The specified module could not be found. #176

Open
shineworld opened this issue Apr 26, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@shineworld
Copy link

shineworld commented Apr 26, 2022

Describe the bug
Is not a skia-delphi package issue but a miss on requirements when used in windows OSs.

import skia
return error:
ImportError: DLL load failed while importing skia: The specified module could not be found.

To Reproduce
Steps to reproduce the behavior:

  1. A clean Windows 10 installation.
  2. Install Python 3.9.12 and pip install skia-python.

Expected behavior
That skia package is found and loaded.

Desktop (please complete the following information):

  • OS: W10 (new clean installation)
  • Python: 3.9.12
  • skia-python version: 87.4

Additional context
Checking skia pyd, with "Dependency Walker", MSVCP140.DLL is not found by PYD.
After downloading and installing "Microsoft Visual C++ 2015 Redistributable Update 3 RC" package
the command "import skia" WORKED fine so it is a MUST to work with Python Skia on Windows environments.

Link to download: https://www.microsoft.com/en-US/download/details.aspx?id=52685

@kyamagu kyamagu added the bug Something isn't working label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants