The problem is resolved. Here is what I did.
First of all, before I received the import error:
"There is no module named multiarray."
, :
": /some/dir/.matplotlib; MPLCONFIGDIR matplotlib"
pyshared PythonPath, , .
, :
pyshared PythonPath.
matplotlib :
import os
os.environ['HOME']='/some/writable/dir'
, matplotlib.pyplot pylab, :
import matplotlib
matplotlib.use('Agg')
.
! python2.5. , 2.6.