I wanna make next simple program work :

```
from numpy import arange,array,ones,random,linalg
from pylab import plot,show
xi = arange(0,9)
A = array( xi, ones(9)])
# linearly generated sequence
y = [19, 20, 20.5, 21.5, 22, 23, 23, 25.5, 24]
w = linalg.lstsq(A.T,y)[0] # obtaining the parameters
# plotting the line
line = w[0]*xi+w[1] # regression line
plot(xi,line,'r-',xi,y,'o')
show()
```

and like you can see I have installed what i need:

```
# rpm -q python
python-2.7.3-3.6.1.x86_64
# rpm -q python-numpy
python-numpy-1.6.2-3.1.2.x86_64
```

And when I try to import numpy, pylab

I get next error:

```
>>> import numpy
>>> import pylab
RuntimeError: module compiled against API version 7 but this version of numpy is 6
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/usr/lib64/python2.7/site-packages/matplotlib/pylab.py", line 222, in <module>
from matplotlib import mpl # pulls in most modules
File "/usr/lib64/python2.7/site-packages/matplotlib/mpl.py", line 1, in <module>
from matplotlib import artist
File "/usr/lib64/python2.7/site-packages/matplotlib/artist.py", line 7, in <module>
from transforms import Bbox, IdentityTransform, TransformedBbox, \
File "/usr/lib64/python2.7/site-packages/matplotlib/transforms.py", line 35, in <module>
from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: numpy.core.multiarray failed to import
```

:sarcastic:???