I have installed and call the numpy library the following way. But why it gave segfault?
How can overcome the problem?
[pdubois@mymachine Tools]$ pip install numpy
Requirement already satisfied (use --upgrade to upgrade): numpy in /misc/u21/pdubois/.python2.7.6/lib/python2.7/site-packages/numpy-1.9.0.dev_688b243-py2.7-linux-x86_64.egg
Cleaning up..
Also with easy_install
[pdubois@mymachine ~]$ easy_install-2.7.6 numpy
Searching for numpy
Best match: numpy 1.9.0.dev-688b243
Processing numpy-1.9.0.dev_688b243-py2.7-linux-x86_64.egg
numpy 1.9.0.dev-688b243 is already the active version in easy-install.pth
Installing f2py script to /u21/pdubois/.python2.7.6/bin
Using /misc/u21/pdubois/.python2.7.6/lib/python2.7/site-packages/numpy-1.9.0.dev_688b243-py2.7-linux-x86_64.egg
Processing dependencies for numpy
Finished processing dependencies for numpy
It gave me this error:
[pdubois@mymachine Tools]$ python
Python 2.7.6 (default, Feb 4 2014, 10:19:53)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Segmentation fault
Similarly when I call it using pydoc:
[pdubois@mymachine Tools]$ pydoc numpy
Segmentation fault