From: Vadim A <ast...@nc...> - 2013-03-15 20:24:56
|
Also, I am getting error when I just importing MOOSE : import moose on node 0, numNodes = 1, numCores = 16, numComputeThreads = 16 ImportError: numpy.core.multiarray failed to import Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/astakhov/moose/moose/moose/python/moose/__init__.py", line 201, in <module> from .moose import * File "/home/astakhov/moose/moose/moose/python/moose/moose.py", line 40, in <module> from . import _moose ImportError: numpy.core.multiarray failed to import > . Sorry for bothering but it seems that we are still missing something. > > > I exported PYTHONPATH and trying to run examples from Demo/snippets > > but none of them work for me and I am getting errors like this > > > Traceback (most recent call last): > > > File "./Demos/snippets/compartment_net.py", line 53, in <module> > from pylab import * > …... > import numpy as np > File "/home/diag/opt/python/lib64/python/numpy/__init__.py", line 130, in <module> > import add_newdocs > File "/home/diag/opt/python/lib64/python/numpy/add_newdocs.py", line 9, in <module> > from lib import add_newdoc > File "/home/diag/opt/python/lib64/python/numpy/lib/__init__.py", line 4, in <module> > from type_check import * > File "/home/diag/opt/python/lib64/python/numpy/lib/type_check.py", line 8, in <module> > import numpy.core.numeric as _nx > File "/home/diag/opt/python/lib64/python/numpy/core/__init__.py", line 5, in <module> > import multiarray > > > ImportError: /home/diag/opt/python/lib64/python/numpy/core/multiarray.so: undefined symbol: Py_InitModule4 > > > > Do you know what we might need to adjust ? > > > Is there any other test examples which we can try ? > > Thanks a lot in advance for any advice. > > Vadim. > > > On Mar 12, 2013, at 8:22 PM, Subhasis Ray wrote: > >> >> >> >> On Wed, Mar 13, 2013 at 2:53 AM, Vadim A <ast...@nc...> wrote: >> You saying that I don't really need to do "make install" ? >> >> after " make BUILD=release USE_HDF5=0" >> >> return -> pymoose module built. >> >> >> All I need to do just export PYTHONPATH, correct ? >> >> Yes, that is all :) >> > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________ > moose-generic mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moose-generic |