<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi All,<br>
<br>
I'm encountering some issues when trying to use pvbatch from a
frozen build(PARAVIEW_FREEZE_PYTHON=ON). Seems that certain key
python modules are missing.ie math. However, I can use Python shell
feature in the GUI from the same build. Do we have any idea about
what may be wrong with pvbatch?<br>
<br>
<br>
here is output from a simple test:<br>
<blockquote>nid00048:~$pvbatch pvbatch-test.py <br>
started<br>
Traceback (most recent call last):<br>
File "pvbatch-test.py", line 3, in <module><br>
from paraview.simple import *<br>
File
"/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/simple.py",
line 40, in <module><br>
import lookuptable<br>
File
"/usr/common/graphics/ParaView/builds/PV-4.4.0/lib/site-packages/paraview/lookuptable.py",
line 21, in <module><br>
from math import sqrt<br>
ImportError: No module named math<br>
</blockquote>
I tried this as well:<br>
<blockquote>nid00048:~$pvpython<br>
Python 2.7.9 (default, Jan 8 2015, 22:29:31) <br>
[GCC 4.9.1 20140716 (Cray Inc.)] on linux2<br>
Traceback (most recent call last):<br>
File "/etc/pythonstart", line 7, in <module><br>
import readline<br>
ImportError: Excluded frozen object named readline<br>
>>> import math<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
ImportError: No module named math<br>
>>> <br>
<br>
</blockquote>
Thanks<br>
Burlen<br>
</body>
</html>