must install numpy first
I forgot to install numpy before I install bx-python. When I use $ python setup.py install It doesn't warn anything about the lack of numpy. But actually some of the modules were not installed correctlly. I think it's better to check whether numpy is installed before I run setup.py.