[Numpy-discussion] numpy1.04b4: undefined symbol: PyUnicodeUCS2_FromUnicode. error No _WIN32

2006-08-28 Thread rex
/usr/lib/python2.4/site-pac kages/numpy/core/include/numpy copying build/src.linux-i686-2.4/numpy/core/multiarray_api.txt -> /usr/lib/python2.4/site-pac kages/numpy/core/include/numpy copying build/src.linux-i686-2.4/numpy/core/__ufunc_api.h -> /usr/lib/python2.4/site-packages /numpy/cor

Re: [Numpy-discussion] numpy1.04b4: undefined symbol: PyUnicodeUCS2_FromUnicode. error No _WIN32

2006-08-28 Thread rex
Travis Oliphant <[EMAIL PROTECTED]> [2006-08-28 12:42]: > rex wrote: > > ImportError: /usr/lib/python2.4/site-packages/numpy/core/multiarray.so: > > undefined symbol: PyUnicodeUCS2_FromUnicode > > > > > > > > This error usually means that NumPy w

Re: [Numpy-discussion] ndarray.count() ?

2006-09-07 Thread rex
2 1 2 2 0 0 1 2 2 0 1 1 0 2 0 1 2 1 2 2 2 1 1 >>> from scipy import * >>> print random.randint(0,2, size=(100,)) [0 1 1 1 1 0 1 1 0 1 0 0 0 0 0 1 0 1 1 0 1 0 1 0 0 0 1 0 0 0 1 1 1 1 0 1 1 1 0 0 0 1 1 0 0 0 1 0 1 0 0 1 1 0 0 1 0 1 1 1 1 1 1 1 0 1 1 0 0 1 0

Re: [Numpy-discussion] ndarray.count() ?

2006-09-07 Thread rex
Robert Kern <[EMAIL PROTECTED]> [2006-09-07 16:35]: > rex wrote: > > Charles R Harris <[EMAIL PROTECTED]> [2006-09-07 15:04]: > >> I don't know about count, but you can gin up something like this > >> > >> In [78]: a = ran.randint(0,2, size=(10

Re: [Numpy-discussion] ndarray.count() ?

2006-09-11 Thread rex
Robert Kern <[EMAIL PROTECTED]> [2006-09-08 06:51]: > rex wrote: > > Robert Kern <[EMAIL PROTECTED]> [2006-09-07 16:35]: > >> rex wrote: > >>> This exposed inconsistent randint() behavior between SciPy and the Python > >>> random module. The