Have you tried running a diag without the etc directory. This should help narrow down where the pythons script is having issues. Typically users have binaries files in the etc directory that will cause issues.
$SPLUNK_HOME/bin/splunk diag --disable=etc
... View more