Hi Jonathan, It looks like we missed installing lapack in the binary and the machines we tested on likely already had it installed in the system. I&#39;ll look into slipping the missing .so into the binary shortly.<br><br>

<div class="gmail_quote">On Thu, Jun 30, 2011 at 11:19 PM, Jonathan Regele <span dir="ltr">&lt;<a href="mailto:jonathan.regele@caltech.edu">jonathan.regele@caltech.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<u></u>


  
  

<div>
Hello,<br>
<br>
I&#39;ve searched the web far and wide for an answer to this question, but can&#39;t find it. I&#39;m running Ubuntu 10.04 and want to use the python calculator. I downloaded the paraview-3.10.1 binary and loaded paraview. When I follow the tutorial, create sphere assign the expression the value 5 and apply it gives the following error.<br>


<br>
<table>
<tbody><tr>
<td>
Traceback (most recent call last):<br>
File &quot;&lt;string&gt;&quot;, line 4, in &lt;module&gt;<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/site-packages/paraview/vtk/dataset_adapter.py&quot;, line 5, in &lt;module&gt;<br>
sure that it is installed properly.&quot;)<br>
RuntimeError: This module depends on the numpy module. Please makesure that it is installed properly.<br>
<br>
</td>
</tr>
</tbody></table>
<br>
I have python 2.6.5 installed on my computer but my understanding is that the binary comes with its own set of python. I checked and it looks like there is python 2.7 in the package directory. It also looks like it comes with its own version of numpy here<br>


<br>
/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/<br>
<br>
<br>
If I delete the python calculator and try it again I get a different error message:<br>
<br>
<table>
<tbody><tr>
<td>
Traceback (most recent call last):<br>
File &quot;&lt;string&gt;&quot;, line 4, in &lt;module&gt;<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/site-packages/paraview/vtk/dataset_adapter.py&quot;, line 2, in &lt;module&gt;<br>
import numpy<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/__init__.py&quot;, line 136, in &lt;module&gt;<br>
import add_newdocs<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/add_newdocs.py&quot;, line 9, in &lt;module&gt;<br>
from numpy.lib import add_newdoc<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/lib/__init__.py&quot;, line 13, in &lt;module&gt;<br>
from polynomial import *<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/lib/polynomial.py&quot;, line 11, in &lt;module&gt;<br>
import numpy.core.numeric as NX<br>
AttributeError: &#39;module&#39; object has no attribute &#39;core&#39;<br>
<br>
</td>
</tr>
</tbody></table>
<br>
It gives the same error after that. The error seems to occur when it tries to import numpy. <br>
<br>
In a linux terminal window, if I open python 2.6 and &quot;import numpy&quot; it doesn&#39;t give me any problems. If I open the python shell in paraview and try to import numpy I get the following output:<br>
<br>
<table>
<tbody><tr>
<td>
Python 2.7.1 (r271:86832, Mar 17 2011, 09:15:47) <br>
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2<br>
&gt;&gt;&gt; from paraview.simple import *<br>
paraview version 3.10.1, Date: 2011-01-28<br>
&gt;&gt;&gt; import numpy<br>
Traceback (most recent call last):<br>
File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt;<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/__init__.py&quot;, line 136, in &lt;module&gt;<br>
import add_newdocs<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/add_newdocs.py&quot;, line 9, in &lt;module&gt;<br>
from numpy.lib import add_newdoc<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/lib/__init__.py&quot;, line 13, in &lt;module&gt;<br>
from polynomial import *<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/lib/polynomial.py&quot;, line 17, in &lt;module&gt;<br>
from numpy.linalg import eigvals, lstsq<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/linalg/__init__.py&quot;, line 48, in &lt;module&gt;<br>
from linalg import *<br>
File &quot;/usr/local/ParaView-3.10.1-Linux-x86_64/lib/paraview-3.10/lib/python2.7/site-packages/numpy/linalg/linalg.py&quot;, line 23, in &lt;module&gt;<br>
from numpy.linalg import lapack_lite<br>
ImportError: liblapack.so: cannot open shared object file: No such file or directory<br>
&gt;&gt;&gt; <br>
<br>
</td>
</tr>
</tbody></table>
I&#39;ve tried several things, but it just doesn&#39;t make any sense. Any ideas?<br>
<br>
Jonathan<br>
<br>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>