Error message ‘import site' failed; use -v for traceback
The error message
'import site' failed; use -v for traceback
might occur when using python in a batch job. This is due to the fact that the variable $HOME is not set on the I/O nodes of JUGENE. The error message can be avoided if $HOME is passed to the mpirun command:
mpirun -exp_env HOME ...