*works since I had to change PYTHON_LIBRARY to point to the lib
subdirectory of /Library/Frameworks/Python.framework/Versions/2.7/,
similar to the executable and include_dir versions
On Thu, Mar 21, 2013 at 10:59 PM, Sohail Shafii sssha...@ucdavis.eduwrote:
Importing numpy into python works.
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.
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
Importing numpy into python works. Same with import sys.path.
What's interesting is that ParaView uses python stored in /usr/local/ while
the version of Python that I use (i.e. default python from the terminal)
resides in /Library/Frameworks. The one in /usr/local does not have numpy.
I didn't