<div dir="ltr">Hi All,<div>I hope someone has seen this before. I have a workflow that works fine on a single computer. However when I submit to the cluster all jobs fail:</div><div><br></div><div><div>$ cat working_dir_sge/2tensor/batch/batchscript_pyscript_20170614_144402_2tensor_selectFiles.sh.e</div><div>Could not find platform independent libraries <prefix></div><div>Could not find platform dependent libraries <exec_prefix></div><div>Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]</div><div>Fatal Python error: Py_Initialize: Unable to get the locale encoding</div><div>ModuleNotFoundError: No module named 'encodings'</div><div><br></div><div>Current thread 0x00002b91eeea9400 (most recent call first):</div><div>/var/spool/gridengine/execd/mansfield/job_scripts/944321: line 6: 19024 Aborted                 (core dumped) /mnt/tigrlab/projects/twright/Projects/tractmap_singularity/venv/bin/python working_dir_sge/2tensor/batch/pyscript_20170614_144402_2tensor_selectFiles.py</div></div><div><br></div><div>python / nipype etc. is setup in a virtualenv which has been made relocatable. </div><div><br></div><div>Thanks for any advice.</div></div>