Skip to main content
Participant
September 19, 2025
Question

Startup Script ImportError: psutil DLL load failed in Embedded Python

  • September 19, 2025
  • 0 replies
  • 96 views

 

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