You can use slicer.util.startupEnvironment()
to get an unmodified system environment. See details in this post: Subprocess call in Python interpreter results in memory corruption
You can use slicer.util.startupEnvironment()
to get an unmodified system environment. See details in this post: Subprocess call in Python interpreter results in memory corruption