Re: numpy problem (follow up)

2020-11-29 Thread Malcolm
Hi https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy also has a numpy wheel 1.19.4+vanilla‑cp39‑cp39‑win_amd64.whl "Vanilla is a minimal distribution, which does not include any optimized BLAS libray or C runtime DLLs." Have not tried this. cheers Malcolm On 30/11/2020 7:19 am, MRAB wrote

Re: numpy problem (follow up)

2020-11-29 Thread MRAB
On 2020-11-29 18:33, Dennis Lee Bieber wrote: On Sat, 28 Nov 2020 17:28:50 -0600, Larry Burford declaimed the following: when trying to run the tutorial program standardplot.py I get a msg that says my numpy won't pass a sanity check due to a problem in the Win runtime Wait for M

Re: numpy problem (follow up)

2020-11-28 Thread Malcolm
HI Just had the same problem. The solution that worked for me was ( pip uninstall numpy then pip install numpy==1.19.3 The latest update to windows has an error in the BLAS libray causing the error. its a known problem. hope this helps Malcolm On 29/11/2020 10:28 am, Larry Burford wro

numpy problem (follow up)

2020-11-28 Thread Larry Burford
I have completed reloading Still getting the error msg for numpy Gentlemen/Ladies, new to visual studio new-ish to python (I hope this is more to do with python ...) ~5 yr old HP with 16 GB,  1 TB,  W10 pro,  python 3.9.0,  VSCode 1.51.1,  3 monitor desktop when trying to run th

Re: numpy problem

2016-05-23 Thread Michael Selik
On Mon, May 23, 2016 at 9:12 AM wrote: > > On 23 mei 2016, at 14:19, Peter Otten <__pete...@web.de> wrote: > > li...@onemanifest.net wrote: > > > >> I've got a 2D array > >> And an array of indexes that for shows which row to keep for each column > >> of values: > >> > >> keep = np.array([2, 3, 1

Re: numpy problem

2016-05-23 Thread lists
> > On 23 mei 2016, at 14:19, Peter Otten <__pete...@web.de> wrote: > > li...@onemanifest.net wrote: > >> I've got a 2D array with values: >> >> values = np.array( >> [[ 20, 38, 4, 45, 65], >> [ 81, 44, 38, 57, 92], >> [ 92, 41, 16, 77, 44], >> [ 53, 62, 9, 75, 12], >> [ 58, 2, 60, 100,

Re: numpy problem

2016-05-23 Thread Peter Otten
li...@onemanifest.net wrote: > I've got a 2D array with values: > > values = np.array( > [[ 20, 38, 4, 45, 65], > [ 81, 44, 38, 57, 92], > [ 92, 41, 16, 77, 44], > [ 53, 62, 9, 75, 12], > [ 58, 2, 60, 100, 29], > [ 63, 15, 48, 43, 71], > [ 80, 97, 87, 64, 60], > [ 16, 16, 70, 88,

numpy problem

2016-05-23 Thread lists
Hi, I've got a nympy problem I can't get my head around. (numpy is new to me). I've got a 2D array with values: values = np.array( [[ 20, 38, 4, 45, 65], [ 81, 44, 38, 57, 92], [ 92, 41, 16, 77, 44], [ 53, 62, 9, 75, 12], [ 58, 2, 60, 100, 29], [ 63, 15, 48, 43, 71], [ 80, 97, 87,

Re: Win 98 with Python 2.5--matplotlib and Numpy problem

2008-11-17 Thread W. eWatson
Tino Wildenhain wrote: W. eWatson wrote: I'm trying to figure out why an application that both myself and a colleague use gives errors when he uses it under W98. I'm using XP. Py 2.5 is installed on each of our machines. His first problem came with ... Clearly things have gone astray. Is n

Re: Win 98 with Python 2.5--matplotlib and Numpy problem

2008-11-16 Thread Tino Wildenhain
W. eWatson wrote: I'm trying to figure out why an application that both myself and a colleague use gives errors when he uses it under W98. I'm using XP. Py 2.5 is installed on each of our machines. His first problem came with ... Clearly things have gone astray. Is numpy somehow not compati

Win 98 with Python 2.5--matplotlib and Numpy problem

2008-11-16 Thread W. eWatson
I'm trying to figure out why an application that both myself and a colleague use gives errors when he uses it under W98. I'm using XP. Py 2.5 is installed on each of our machines. His first problem came with matplotlib that pointed to the "from pylab ..." line below. The message ended with " .

Re: Numpy problem: Arrays in a list of dictionaries

2007-04-23 Thread Robert Kern
ZMY wrote: > Dear Robert, > > So how should I do this? I tried > > d1 = {1: array([2, 3, 4]).copy(), 2: ''} > l1 = [] > for i in range(3): l1.append(d1.copy()) > > and it still doesn't work. Of course it doesn't, for the same reason that your first attempt didn't work either. You've

Re: Numpy problem: Arrays in a list of dictionaries

2007-04-23 Thread ZMY
Dear Robert, So how should I do this? I tried d1 = {1: array([2, 3, 4]).copy(), 2: ''} l1 = [] for i in range(3): l1.append(d1.copy()) and it still doesn't work. I think my problem is: how to create a new array every time I append it to the list... Thanks in advance, - ZMY On

Re: Numpy problem: Arrays in a list of dictionaries

2007-04-17 Thread Robert Kern
ZMY wrote: > I am new to Numpy/Pylab, and I am trying to construct a list of > dictionaries with arrays as the items, for example: > dict = {1: array([2, 3, 4]), 2: ''} list1 = [] for i in range(3): list1.append(dict.copy()) > ... list1 > [{1: array([2, 3, 4]), 2: ''}, {1: arra

Numpy problem: Arrays in a list of dictionaries

2007-04-17 Thread ZMY
I am new to Numpy/Pylab, and I am trying to construct a list of dictionaries with arrays as the items, for example: >>> dict = {1: array([2, 3, 4]), 2: ''} >>> list1 = [] >>> for i in range(3): list1.append(dict.copy()) ... >>> list1 [{1: array([2, 3, 4]), 2: ''}, {1: array([2, 3, 4]), 2: ''}, {1: