Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Startup Script ImportError: psutil DLL load failed in Embedded Python

New Here ,
Sep 19, 2025 Sep 19, 2025

 

I have a startup script in Substance 3D Painter that uses psutil, and I get the following error when opening the program:

 

 
ImportError: DLL load failed while importing _psutil_windows: The specified module could not be found.

 

 

I am using the embedded Python located at:

 

 
C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\python.exe
 

What I tried:

  • Installed psutil using the embedded Python’s pip.

  • Verified that psutil works fine in my system Python 3.11.

  • Attempted to build _psutil_windows.pyd from source, but encountered linker errors (e.g., LNK2001 unresolved externals) because the embedded Python doesn’t provide all the required symbols.

Question:

  • Is it possible to use psutil with Substance 3D Painter’s embedded Python in a startup script?

  • If not, what is the recommended way to check if a process exists (PID) or perform similar system-level tasks using the embedded Python?

Additional info:

  • Substance 3D Painter version: 2025.x

  • OS: Windows 10/11

  • Python SDK path: C:\Program Files\Adobe\Adobe Substance 3D Painter\resources\pythonsdk\python.exe

TOPICS
Discussion
21
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation