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 LAPACK=/usr/local/lib/libopenbla
of Numerical Python
Subject: Re: [Numpy-discussion] variables not defined in
numpy.random__init.py__ ?
On Mon, Mar 25, 2013 at 12:51 PM, Ralf Gommers wrote:
On Mon, Mar 25, 2013 at 4:23 PM, Dinesh B Vadhia
wrote:
Using PyInstaller, the following error occurs:
Traceback (m
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 lis
Using PyInstaller, the following error occurs:
Traceback (most recent call last):
File "", line 9, in
File "//usr/lib/python2.7/dist-packages/PIL/Image.py", line 355, in init
__import__(f, globals(), locals(), [])
File "//usr/lib/python2.7/dist-packages/PIL/IptcImagePlugin.py", line 23,
r: No module
named multiarray"
> On Tue, Mar 12, 2013 at 7:05 AM, Dinesh B Vadhia
> 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
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 Numerica
multiarray" is indicating problems 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
wrote:
I've been using Numpy/Scipy for &g
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
at 10:56 PM, Dinesh B Vadhia
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]
# c is
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 inde
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
Th
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
AM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] Import Numpy on Windows Vista x64 AMD
On Sun, Jun 28, 2009 at 2:05 AM, Dinesh B
Vadhia wrote:
> Okay. Maybe a bit harsh, but wouldn't it be better not to have the release
> as available if it cannot be imported?
It ca
, Jun 27, 2009 at 6:42 AM, Dinesh B
Vadhia wrote:
> Ticket# 1084
> (http://projects.scipy.org/numpy/timeline?from=2009-06-09T03%3A01%3A59-0500&precision=second)
> says that the numpy import on Windows Vista x64 AMD systems works now.
I mistakenly closed it as fixed, but it is jus
Ticket# 1084
(http://projects.scipy.org/numpy/timeline?from=2009-06-09T03%3A01%3A59-0500&precision=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
_
cussion 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
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 the
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
tell whether I am using 32 bitor64bit
numpy?
2009/3/29 Dinesh B Vadhia :
> David
>
> 1) 32-bit Numpy/Scipy with 32-bit Python on 64-bit Windows does work. But,
> it doesn't take advantage of memory > 2gb.
Indeed. But running numpy 32 bits in python 64 bits is not possible -
ython
Subject: Re: [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
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: [Numpy
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
38
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
]
J = A.shape[1]
for i in xrange(0, I, 1):
for j in xrange(0, J, 1):
if a[i,j] > 0:
dict[i].append(j)
I want to find a faster/efficient way to do this without using the 2 for loops.
Thanks!
Dinesh
From: Dinesh B Vadhia
Sent: Sunday, September 21, 2008 10:28 AM
Hi! Say, I've got a numpy array/matrix of the form:
A =
[[1 6 1 2 3]
[4 5 4 7 0]
[2 0 8 0 2]
[0 0 0 3 7]
[0 7 0 3 5]
[8 0 3 0 6]
[8 0 0 2 2]
[3 1 0 4 0]
[5 0 8 0 0]
[2 1 0 5 6]]
I want to create a dictionary of row indexes (as the keys) mapped to lists of
the column indexes of non-zer
Say, there are two initialized numpy arrays:
A = numpy.blah
B = numpy.blah.blah
With, C = A*d + B*e which doesn't have to be initialized beforehand (as A and B
are and so are d and e)
Now, place this in a function ie.
def havingFun(d, e)
C = A*d + B*e
return C
The main program calls h
B Vadhia apparently wrote:
> where A is sparse using scipy.sparse. ... I'm now using
> the latest svn and b = Ax
1. Please post a small example.
2. Do you have the *very* latest SVN (post r5084)?
Cheers,
Alan Isaac
___
Numpy-discussion m
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-d
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
A= scipy.asmatri
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, 1
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
pickle.dump(A)
Program Two:
pickle.load(A)
.. in Program Two, do we need the stat
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
import scipy
ImportError: No module named scipy
I'm using Numpy 1.0.4 and Scipy 0.6.
Any ideas?
Dinesh
_
31 matches
Mail list logo