Install NumPy in python 2.6

David Cournapeau cournape at gmail.com
Wed Apr 22 09:41:12 EDT 2009


On Wed, Apr 22, 2009 at 9:11 PM, Ole Streicher <ole-usenet-spam at gmx.net> wrote:
> Hi Eduardo,
>
> Eduardo Lenz <lenz at joinville.udesc.br> writes:
>> On Wednesday 22 April 2009 04:47:54 David Cournapeau wrote:
>>> On Wed, Apr 22, 2009 at 6:38 PM, Ole Streicher <ole-usenet-spam at gmx.net>
>> wrote:
>>> > but scipy then fails:
>>> > error: Lapack (http://www.netlib.org/lapack/) libraries not found.
>>> > What is the reason for that?
>
>> try ATLAS instead.
>
> I did:
> $ easy_install --prefix=/work/python/ atlas-0.27.0.tar.gz
> $ ls -l /work/python/lib/python2.6/site-packages/atlas-0.27.0-py2.6.egg
> -rw-r--r-- 1 os gr 98386 2009-04-22 14:05 /work/python/lib/python2.6/site-packages/atlas-0.27.0-py2.6.egg

ATLAS is an optimized version of BLAS/LAPACK, and has nothing to do
with python. You can't install it with easy_install, you need to build
it by yourself. I would advise against using it unless you need fast
linear algebra for big matrices. Building ATLAS is a pain, and is
maybe the number one issue for newcomers who try to build numpy. You
can always install it later if you want,

David



More information about the Python-list mailing list