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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-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
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
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
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
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=
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,
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,
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
25 matches
Mail list logo