skia-python icon indicating copy to clipboard operation
skia-python copied to clipboard

(MSVC runtime needed on windows): import skia return ImportError: DLL load failed while importing skia: The specified module could not be found.

Open shineworld opened this issue 3 years ago • 0 comments

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

shineworld avatar Apr 26 '22 13:04 shineworld