It looks like NumPy is installed correctly but we should find out why you get this error about "ImportError: No module named numpy" when running cmake before moving on to running make. What do you get when you run the following command?
python -c "import numpy; print numpy.get_include()" You can also take a look in cmake/module/FindNumPy.cmake in the DOLFIN source directory and see if you can find out what is wrong there. Johannes On Fri, Jun 20, 2014 at 3:20 PM, Sai Rajeshwar <[email protected]> wrote: > this is what is present in modulePYTHON_wrap.cxx at 4131 line > > #if NUMPY_VERSION_MINOR >= 7 > > > what is wrong now.. thanks > > with regards.. > > M. Sai Rajeswar > M-tech Computer Technology > IIT Delhi > ----------------------------------Cogito Ergo Sum--------- > > > On Fri, Jun 20, 2014 at 5:42 PM, Sai Rajeshwar <[email protected]> wrote: >> >> hi, >> if you say nothing is wrong with this numpy ... can i do make >> install.. >> >> also when i do 'make' i got the following error.. this error i never got >> when i did 'make' when i installed dolfin before.. >> >> --------------------------------------------- >> Scanning dependencies of target _mesh >> [ 96%] Building CXX object >> dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/modulePYTHON_wrap.cxx.o >> >> /home1/03023/rajeswar/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:4131:25: >> error: operator '>=' has no left operand >> make[2]: *** >> [dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/modulePYTHON_wrap.cxx.o] >> Error 1 >> make[1]: *** [dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/all] Error 2 >> make: *** [all] Error 2 >> >> >> with regards.. >> >> M. Sai Rajeswar >> M-tech Computer Technology >> IIT Delhi >> ----------------------------------Cogito Ergo Sum--------- >> >> >> On Fri, Jun 20, 2014 at 4:44 PM, Sai Rajeshwar <[email protected]> wrote: >>> >>> this is the output.. >>> login1$ python -c "import numpy;print numpy.__version__" >>> 1.8.0 >>> >>> thanks.. is there something wrong >>> >>> with regards.. >>> >>> M. Sai Rajeswar >>> M-tech Computer Technology >>> IIT Delhi >>> ----------------------------------Cogito Ergo Sum--------- >>> >>> >>> On Fri, Jun 20, 2014 at 4:42 PM, Johannes Ring <[email protected]> wrote: >>>> >>>> On Fri, Jun 20, 2014 at 1:02 PM, Sai Rajeshwar <[email protected]> >>>> wrote: >>>> > ok but numpy1.8 is already installed.. should i install it again >>>> >>>> No, probably not, but can you import it in Python? Try: >>>> >>>> python -c "import numpy;print numpy.__version__" >>>> >>>> If this does not work, you probably have to add the location of where >>>> you installed NumPy to PYTHONPATH. >>>> >>>> Johannes >>> >>> >> > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
