end0tknr's kipple - 新web写経開発

http://d.hatena.ne.jp/end0tknr/ から移転しました

install NumPy (Numerical Python) & nose (unit test tool) to centos 6.6

nose

https://nose.readthedocs.org

$ wget https://pypi.python.org/packages/source/n/nose/nose-1.3.6.tar.gz
$ tar -xvf nose-1.3.6.tar.gz
$ cd nose-1.3.6
$ /usr/local/bin/python setup.py build
$ su
#/usr/local/bin/python setup.py install

numpy

http://www.numpy.org/
http://sourceforge.net/projects/numpy/files/NumPy/

$ tar -xvf numpy-1.9.2.tar.gz
$ cd numpy-1.9.2
$ /usr/local/bin/python setup.py build
$ su
#/usr/local/bin/python setup.py install

test numpy

$ python
Python 2.7.9 (default, Apr  5 2015, 15:24:09) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.9.2
NumPy is installed in /usr/local/lib/python2.7/site-packages/numpy
Python version 2.7.9 (default, Apr  5 2015, 15:24:09) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
nose version 1.3.6
.......................S....S.........S...............................
  :
Ran 5593 tests in 70.420s

OK (KNOWNFAIL=5, SKIP=12)
<nose.result.TextTestResult run=5593 errors=0 failures=0>
>>>