[Numpy-discussion] ImportError: libatlas.so.3: cannot open shared object file

2012-12-10 Thread Allan Kamau
I have built and installed numpy on Debian from source successfully as follows. export LAPACK=/usr/lib/lapack/liblapack.so;export ATLAS=/usr/lib/atlas-base/libatlas.so; python setup.py build; python setup.py install; Then I change directory from the numpy sources directory. Then I give the

Re: [Numpy-discussion] ImportError: libatlas.so.3: cannot open shared object file

2012-12-10 Thread Alexander Eberspächer
On Mon, 10 Dec 2012 13:57:04 +0300 Allan Kamau kamaual...@gmail.com wrote: I have built and installed numpy on Debian from source successfully as follows. [...] ImportError: libatlas.so.3: cannot open shared object file: No such file or directory Are the paths to ATLAS in your

Re: [Numpy-discussion] ImportError: libatlas.so.3: cannot open shared object file

2012-12-10 Thread Allan Kamau
I did add the paths to LD_LIBRARY_PATH as advised (see below), then python setup.py clean;python setup.py build;python setup.py install; but the same error persists. export LAPACK=/usr/lib/lapack/liblapack.so;export ATLAS=/usr/lib/atlas-base/libatlas.so; export

Re: [Numpy-discussion] ImportError: libatlas.so.3: cannot open shared object file

2012-12-10 Thread Olivier Delalleau
2012/12/10 Allan Kamau kamaual...@gmail.com I did add the paths to LD_LIBRARY_PATH as advised (see below), then python setup.py clean;python setup.py build;python setup.py install; but the same error persists. export LAPACK=/usr/lib/lapack/liblapack.so;export

Re: [Numpy-discussion] np.dstack vs np.concatenate?

2012-12-10 Thread Bradley M. Froehle
The source for np.dstack would point the way towards a simpler implementation: array = np.concatenate(map(np.atleast_3d, (arr1, arr2, arr3, arr4, arr5, arr6)), axis=2) array_list_old = [arr1, arr2, arr3, arr4, arr5, arr6] array_list = [arr[...,np.newaxis] for arr in array_list_old] array =

Re: [Numpy-discussion] segfaulting numpy with dot and datetime

2012-12-10 Thread Charles R Harris
On Mon, Dec 10, 2012 at 5:39 PM, josef.p...@gmail.com wrote: np.__version__ '1.6.2' aa array([1970-01-13 96:00:00, 1970-01-13 120:00:00, 1970-01-13 144:00:00, 1970-01-13 168:00:00, 1970-01-13 192:00:00], dtype=datetime64[ns]) np.dot(aa, [1]) segfault Hmm, I can't even get that

Re: [Numpy-discussion] segfaulting numpy with dot and datetime

2012-12-10 Thread josef . pktd
On Mon, Dec 10, 2012 at 8:26 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Dec 10, 2012 at 5:39 PM, josef.p...@gmail.com wrote: np.__version__ '1.6.2' aa array([1970-01-13 96:00:00, 1970-01-13 120:00:00, 1970-01-13 144:00:00, 1970-01-13 168:00:00, 1970-01-13

Re: [Numpy-discussion] segfaulting numpy with dot and datetime

2012-12-10 Thread josef . pktd
On Mon, Dec 10, 2012 at 8:54 PM, josef.p...@gmail.com wrote: On Mon, Dec 10, 2012 at 8:26 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Dec 10, 2012 at 5:39 PM, josef.p...@gmail.com wrote: np.__version__ '1.6.2' aa array([1970-01-13 96:00:00, 1970-01-13 120:00:00,

Re: [Numpy-discussion] segfaulting numpy with dot and datetime

2012-12-10 Thread josef . pktd
On Mon, Dec 10, 2012 at 9:46 PM, josef.p...@gmail.com wrote: On Mon, Dec 10, 2012 at 8:54 PM, josef.p...@gmail.com wrote: On Mon, Dec 10, 2012 at 8:26 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Dec 10, 2012 at 5:39 PM, josef.p...@gmail.com wrote: np.__version__