Copy link to clipboard
Copied
I have a startup script in Substance 3D Painter that uses psutil, and I get the following error when opening the program:
I am using the embedded Python located at:
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
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now