Skip to content

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

@shineworld

Description

@shineworld

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions