Yeah, there were no previous installs. Well, I removed the pip installed numpy and did a python setup.py install and all works now.
Really bizarre, I didn't think pip did much outside of the standard python setup.py install, other that some more automation. Thanks for the help. Ilya On Sun, May 30, 2010 at 5:15 PM, Charles R Harris <charlesr.har...@gmail.com> wrote: > > > On Sun, May 30, 2010 at 2:22 PM, Ilya Sterin <ster...@gmail.com> wrote: >> >> Numpy 1.4.1. I built it myself. >> >> The version of numpy in question on CentOS was built against a 2.6.5 >> version of python 64 bit binary and built/installed with pip. >> >> The version which is working on my OS X is a universal binary and both >> python and numpy are built as such. I'm running python in 64bit mode >> though and all works fine there. >> >> I just tried to install numpy as per yum instructions on numpy site >> with the default Centos python 2.4. It installed numpy 1.2 and the >> determinant function works there. >> >> I need to get this to work with 2.6 though, as my app relies on it. Any >> ideas? >> >> Thanks. >> > > It works fine for me on 2.6, which is why I asked for more details. > > $[char...@ubuntu ~]$ python > Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) > [GCC 4.4.3] on linux2 > Type "help", "copyright", "credits" or "license" for more information. >>>> import numpy >>>> numpy.linalg.det(numpy.array([[1, 2], [3, 4]])) > -2.0 >>>> numpy.__version__ > '1.4.1' > > Did you remove the previous installation of numpy, if any? And why not do > the usual "sudo python setup.py install" thingie instead of pip? > > Chuck > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion