diff --git a/src/com/sheepit/client/Job.java b/src/com/sheepit/client/Job.java index 948ab4e..0875e55 100644 --- a/src/com/sheepit/client/Job.java +++ b/src/com/sheepit/client/Job.java @@ -261,6 +261,8 @@ public class Job { new_env.put("BLENDER_USER_CONFIG", config.workingDirectory.getAbsolutePath().replace("\\", "\\\\")); new_env.put("CORES", Integer.toString(config.getNbCores())); new_env.put("PRIORITY", Integer.toString(config.getPriority())); + new_env.put("PYTHONPATH", ""); // make sure blender is using the embedded python, if not it could create "Fatal Python error: Py_Initialize" + new_env.put("PYTHONHOME", "");// make sure blender is using the embedded python, if not it could create "Fatal Python error: Py_Initialize" for (String arg : command1) { switch (arg) {