Skip to content Skip to sidebar Skip to footer

Numpy Test() Finished With Errors

on ubuntu 12.04 x32 I have installed python 2.7.3, numpy 1.6.1 via sudo apt-get install python-numpy. I run the test() from numpy via numpy.test() and I get: FAIL: test_pareto (te

Solution 1:

Notes for the future me, when trying to redo the stuff:

  1. there are some prerequisites for working with numpy/scipy: g++gfortranblasatlaslapack.
  2. it seems to be better -- and time consuming -- to compile the numpy/scipy sources. pip install does this.

The commands were:

sudo apt-get install g++ gfortran liblapack-dev libopenblas-dev python-dev python-pip

sudo pip install nose

sudo pip install numpy

python -c "import numpy; numpy.test()"

For the scipy library the following worked:

sudo pip install scipy

python -c "import scipy; scipy.test()"

Post a Comment for "Numpy Test() Finished With Errors"