[Paraview] Numpy import error

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Mar 21 20:59:41 EDT 2013


Run "python" from terminal and import numpy. Does that work? If so,
import sys and print sys.path. Now try the same in Python shell from
ParaView. Does that work? If not, compare the sys.path from python and
ParaView's Python shell. Any differences?

On Thu, Mar 21, 2013 at 8:53 PM, Sohail Shafii <ssshafii at ucdavis.edu> wrote:
> Hi,
>
> I have numpy installed installed on Python 2.7.3. for Mac OS 10.8.3. I
> compiled against the same python while building ParaView 3.98.1 64-bit, but
> when I create a Python programmable filter in ParaView, I cannot import
> numpy -- I get a message that says "ImportError: No module named numpy."
> Python was enabled during compilation as well.
>
> Any advice?
>
> Thanks, Sohail
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list