[Numpy-discussion] Unable to building numpy with openblas using bento or distutils

2013-05-28 Thread Dinesh B Vadhia
Maybe this is for the Scipy list but followed the instructions but the command: $ sudo python setup.py install to install Scipy failed because it couldn't find Lapack. However, the export commands were set as: $ export BLAS=/usr/local/lib/libopenblas.a $ export

Re: [Numpy-discussion] variables not defined in numpy.random__init.py__ ?

2013-03-26 Thread Dinesh B Vadhia
Subject: Re: [Numpy-discussion] variables not defined in numpy.random__init.py__ ? On Mon, Mar 25, 2013 at 12:51 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Mon, Mar 25, 2013 at 4:23 PM, Dinesh B Vadhia dineshbvad...@hotmail.com wrote: Using PyInstaller, the following error occurs

Re: [Numpy-discussion] Unable to building numpy with openblas usingbento or distutils

2013-03-25 Thread Dinesh B Vadhia
Caveat: Not tested but it did look interesting: http://osdf.github.com/blog/numpyscipy-with-openblas-for-ubuntu-1204-second-try.html. Would be interested to know if it worked out as want to try out OpenBlas in the future.___ NumPy-Discussion mailing

Re: [Numpy-discussion] (@Pat Marion) Re: Yes, this one again ImportError: No module named multiarray

2013-03-13 Thread Dinesh B Vadhia
Many thanks Pat - the numpy discussion list is brill. Go ahead and see if the CPython developers would be interested as it is a problem that appears all the time on boards/lists. Best ... Dinesh From: Pat Marion Sent: Tuesday, March 12, 2013 7:23 AM To: Aron Ahmadia Cc: Discussion of

Re: [Numpy-discussion] Yes, this one again ImportError: No module named multiarray

2013-03-13 Thread Dinesh B Vadhia
ImportError: No module named multiarray On Tue, Mar 12, 2013 at 7:05 AM, Dinesh B Vadhia dineshbvad...@hotmail.com wrote: Does that mean numpy won't work with freeze/create_executable type of tools or is there a workaround? I've used numpy with py2exe and py2app out of the box

[Numpy-discussion] Yes, this one again ImportError: No module named multiarray

2013-03-12 Thread Dinesh B Vadhia
I've been using Numpy/Scipy for 5 years so know a little on how to get around them. Recently, I've needed to either freeze or create executables with tools such as PyInstaller, Cython, Py2exe and others on both Windows (XP 32-bit, 7 64-bit) and Ubuntu (12.04) Linux (64-bit). The test program

Re: [Numpy-discussion] Yes, this one again ImportError: No module named multiarray

2013-03-12 Thread Dinesh B Vadhia
with your freeze setup. Most of these tools don't support locally imported extension modules. Does this help you get oriented on your problem? A On Tue, Mar 12, 2013 at 1:01 PM, Dinesh B Vadhia dineshbvad...@hotmail.com wrote: I've been using Numpy/Scipy for 5 years so know a little on how

[Numpy-discussion] Want to eliminate direct for-loop

2012-02-11 Thread Dinesh B Vadhia
Could the following be written without the direct for-loop? import numpy # numpy vector r of any data type and length, eg. r = numpy.ones(25, dtype='int') # s is a list of values (of any data type), eg. s = [47, 27, 67] # c is a list of (variable length) lists where the sub-list elements are

Re: [Numpy-discussion] Want to eliminate direct for-loop

2012-02-11 Thread Dinesh B Vadhia
at 10:56 PM, Dinesh B Vadhia dineshbvad...@hotmail.com wrote: Could the following be written without the direct for-loop? import numpy # numpy vector r of any data type and length, eg. r = numpy.ones(25, dtype='int') # s is a list of values (of any data type), eg. s = [47, 27, 67

[Numpy-discussion] Fw: sparse vectors / matrices / tensors

2011-09-20 Thread Dinesh B Vadhia
Yannick Sounds great. Would cross-post on the Scipy list as that is where the scipy.sparse developers hang out. Dinesh From: Yannick Versley Sent: Tuesday, September 20, 2011 8:33 AM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] sparse vectors / matrices / tensors

Re: [Numpy-discussion] Timeline for 1.4.0 and installer for Windows64bit ?

2009-07-31 Thread Dinesh B Vadhia
A suggestion: How about releasing Numpy for the AMD64 version first (without Scipy) and then follow up with a later release with Scipy support? This would satisfy Numpy-only users which can't be a bad thing rather than having a version that is not usable (I believe) by either Numpy or Scipy

Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-27 Thread Dinesh B Vadhia
Okay. Maybe a bit harsh, but wouldn't it be better not to have the release as available if it cannot be imported? From: David Cournapeau Sent: Friday, June 26, 2009 7:00 PM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD On Sat, Jun

Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-27 Thread Dinesh B Vadhia
The machine in question is factory installed with: OS: Windows Vista 64-bit SP2 Processor: Intel Core2 Quad CPU, Q6600 @ 2.4Ghz @2.4GHz Memory: 8Gb Apart from Python 2.5.4 nothing has been installed on this machine as it is being used only to run Python programs. Python 2.6.1 was installed

[Numpy-discussion] Import Numpy on Windows Vista x64 AMD

2009-06-26 Thread Dinesh B Vadhia
Ticket# 1084 (http://projects.scipy.org/numpy/timeline?from=2009-06-09T03%3A01%3A59-0500precision=second) says that the numpy import on Windows Vista x64 AMD systems works now. Is this for Numpy 1.3 or 1.4 and if 1.3 has anyone tried it successfully? Thanks. Dinesh

Re: [Numpy-discussion] Installation problem with Numpy 1.3 onWindows AMD64

2009-05-30 Thread Dinesh B Vadhia
of Numerical Python Subject: Re: [Numpy-discussion] Installation problem with Numpy 1.3 onWindows AMD64 On Sat, May 30, 2009 at 8:02 AM, Dinesh B Vadhia dineshbvad...@hotmail.com wrote: Hi! I just upgraded to Python 2.6.2 (from 2.5) on Windows AMD64 in order to use Numpy 1.3 for AMD64 and got

[Numpy-discussion] Installation problem with Numpy 1.3 on Windows AMD64

2009-05-29 Thread Dinesh B Vadhia
Hi! I just upgraded to Python 2.6.2 (from 2.5) on Windows AMD64 in order to use Numpy 1.3 for AMD64 and got the following error: - pythonw.exe has stopped working Numpy was installed both per-machine and per-user but the error persists. Python 2.6.2 works without Numpy. Any ideas? Dinesh

Re: [Numpy-discussion] How to tell whether I am using 32 bit or 64bit numpy?

2009-03-28 Thread Dinesh B Vadhia
Uhmmm! I installed 64-bit Python (2.5x) on a Windows 64-bit Vista machine (yes, strange but true) hoping that the 32-bit Numpy Scipy libraries would work but they didn't. From: Charles R Harris Sent: Saturday, March 28, 2009 4:28 AM To: Discussion of Numerical Python Subject: Re:

Re: [Numpy-discussion] How to tell whether I am using 32 bitor 64bit numpy?

2009-03-28 Thread Dinesh B Vadhia
: [Numpy-discussion] How to tell whether I am using 32 bitor 64bit numpy? Dinesh B Vadhia wrote: Uhmmm! I installed 64-bit Python (2.5x) on a Windows 64-bit Vista machine (yes, strange but true) hoping that the 32-bit Numpy Scipy libraries would work but they didn't. That's a totally

[Numpy-discussion] Sorting large numbers of co-ordinate pairs

2009-03-13 Thread Dinesh B Vadhia
I have a large number ( 1bn) of (32-bit) integer co-ordinates (i, j) in a file. The i are ordered and the j unordered eg. ... 6940, 22886 6940, 38277 6940, 43788 7007, 0 7007, 2362 7007, 34 etc. ... I want to create (j, i) with j ordered and i unordered and store in a file ie. ... 38277, 567

[Numpy-discussion] take a numpy

2008-09-24 Thread Dinesh B Vadhia
I'm using numpy take() to pickout elements from a (1xM) array A indicated by the index numbers in indices ie. B = A.take(indices = list_indexes) It work perfectly but as A is large the performance isn't great and was wondering if there are faster methods available or ways to improve the use of

[Numpy-discussion] Does Unreasonable Matrix Behavior affect Scipy Sparse

2008-04-25 Thread Dinesh B Vadhia
I had b = Ax working where A is sparse using scipy.sparse. I'm now using the latest svn and b = Ax is not working and returns garbage results. Nothing has changed except the latest svn. Any thoughts? Dinesh ___ Numpy-discussion mailing list

[Numpy-discussion] dimensions too large error

2008-03-14 Thread Dinesh B Vadhia
For the following code: I = 18000 J = 33000 filename = 'ij.txt' A = scipy.asmatrix(numpy.empty((I,J), dtype=numpy.int)) for line in open(filename, 'r'): etc. The following message appears: Traceback (most recent call last): File C:\...\py, line 362, in module A=

[Numpy-discussion] Array assignment problem

2008-03-11 Thread Dinesh B Vadhia
Hello! I'm reading a text file with two numbers in str format on each line. The numbers are converted into integers. Each integer is then assigned to a 2-dimensional array ij (see code below). The problem is that neither of the array assignments work ie. both ij[index, 0] = r and ij[index,

[Numpy-discussion] Pickling and initializing

2008-03-03 Thread Dinesh B Vadhia
When you pickle a numpy/scipy matrix does it have to be initialized by another program? For example: Program One: A = scipy.asmatrix(scipy.empty((i, i)), dtype=int)# initialize matrix A do something with A pickle.dump(A) Program Two: pickle.load(A) .. in Program Two,

[Numpy-discussion] import issue with new Python

2008-02-15 Thread Dinesh B Vadhia
I upgraded to Python 2.5.2c1 today, and got the following error for: import numpy import scipy Traceback (most recent call last): File C:\ ... .py, line 19, in module import scipy ImportError: No module named scipy I'm using Numpy 1.0.4 and Scipy 0.6. Any ideas? Dinesh