Re: [Numpy-discussion] Numpy 1.11.0rc1 released.

2016-02-23 Thread Christoph Gohlke
On 2/23/2016 1:05 PM, Pauli Virtanen wrote: 23.02.2016, 22:40, Charles R Harris kirjoitti: [clip] On all 32-bit platforms: ERROR: test_zeros_big (test_multiarray.TestCreation) --

Re: [Numpy-discussion] OK to upload patched 1.9.2 for Python 3.5?

2015-09-18 Thread Christoph Gohlke
On 9/14/2015 3:47 AM, Julian Taylor wrote: as due to the many incompatiblities in 1.10 many will likely not be able to update anytime soon, so I think putting out another 1.9.3 bugfix release would be a good idea. I can probably do the release management for it, though I haven't been keeping up w

Re: [Numpy-discussion] Problem with _dotblas.pyd when using Matplotlib for 3d plot

2015-03-19 Thread Christoph Gohlke
On 11/19/2014 3:21 PM, Charles R Harris wrote: > > > On Wed, Nov 19, 2014 at 3:03 PM, Mégardon Geoffrey > mailto:geoffrey.megar...@gmail.com>> wrote: > > __ > Hi, > > In verbose mode, it stops at this line: > test_blasdot.test_dot_3args ... > > Ok, I will try with numpy and pyt

Re: [Numpy-discussion] Uint64 casting bug for MSVC builds

2014-12-03 Thread Christoph Gohlke
On 12/3/2014 8:44 AM, Matthew Brett wrote: > Hi, > > I just noticed this using Christophe Gohlke's MKL builds of numpy: > import numpy as np val = 2**63 + 2**62 np.float64(val) > 1.3835058055282164e+19 np.float64(val).astype(np.uint64) > 9223372036854775808 > > In general it see

Re: [Numpy-discussion] ANN: NumPy 1.8.2 release candidate

2014-08-05 Thread Christoph Gohlke
On 8/5/2014 12:45 PM, Julian Taylor wrote: > Hello, > > I am pleased to announce the first release candidate for numpy 1.8.2, a > pure bugfix release for the 1.8.x series. > https://sourceforge.net/projects/numpy/files/NumPy/1.8.2rc1/ > > If no regressions show up the final release is planned this

Re: [Numpy-discussion] ANN: NumPy 1.9.0 beta release

2014-06-09 Thread Christoph Gohlke
On 6/8/2014 1:34 PM, Julian Taylor wrote: Hello, I'm happy to announce the fist beta release of Numpy 1.9.0. 1.9.0 will be a new feature release supporting Python 2.6 - 2.7 and 3.2 - 3.4. Due to low demand windows binaries for the beta are only available for Python 2.7, 3.3 and 3.4. Please try i

Re: [Numpy-discussion] ANN: numexpr 2.4 RC1

2014-04-06 Thread Christoph Gohlke
On 4/6/2014 3:51 AM, Francesc Alted wrote: === Announcing Numexpr 2.4 RC1 === Numexpr is a fast numerical expression evaluator for NumPy. With it, expressions that operate on arrays (like "3*a+4*b") are accelerated and use less memory than doin

Re: [Numpy-discussion] Numpy 1.8.1 release

2014-03-22 Thread Christoph Gohlke
On 3/22/2014 7:28 PM, Charles R Harris wrote: > Hi All, > > It is time for the 1.8.1 release to go forward. I'm on the fence as to > whether to do an rc2 or just release and do a 1.8.2 if needed. The > problems noted with the 1.8.1rc1 should be fixed, but if you are in a > position to test the curr

Re: [Numpy-discussion] 1.8.1rc1 on sourceforge.

2014-03-04 Thread Christoph Gohlke
On 3/4/2014 4:49 AM, Thomas Unterthiner wrote: > Hi there! > > I just tried setting up a new installation using numpy 1.8.1rc1 (+scipy > 0.13.3 and matplotlib 1.3.1). I ran into problems when installing > matplotlib 1.3.1. The attached logfile shows the full log, but it ends with: > > src/_png.cpp:

Re: [Numpy-discussion] distributing wheels & SSE/superpack options

2013-12-06 Thread Christoph Gohlke
On 12/6/2013 12:40 PM, David Cournapeau wrote: > > > > On Fri, Dec 6, 2013 at 8:38 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > On 12/6/2013 10:06 AM, Ralf Gommers wrote: > > Hi all, > > > > There are a few discussions

Re: [Numpy-discussion] distributing wheels & SSE/superpack options

2013-12-06 Thread Christoph Gohlke
On 12/6/2013 10:06 AM, Ralf Gommers wrote: > Hi all, > > There are a few discussions on packaging for the scientific Python stack > ongoing, on the NumFOCUS and distutils lists: > https://groups.google.com/forum/#!topic/numfocus/mVNakFqfpZg >

Re: [Numpy-discussion] ANN: NumPy 1.7.2rc1 release

2013-11-10 Thread Christoph Gohlke
On 11/10/2013 8:58 AM, Ralf Gommers wrote: > > > > On Wed, Nov 6, 2013 at 6:41 AM, Orion Poplawski > wrote: > > On 11/3/2013 9:42 AM, Julian Taylor wrote: > > Hi all, > > > > I'm happy to announce the release candidate of Numpy 1.7.2. > > This is a b

Re: [Numpy-discussion] Numpy 1.8.0 release

2013-10-22 Thread Christoph Gohlke
On 10/20/2013 10:35 AM, Charles R Harris wrote: > Hi All, > > I'm planning on releasing Numpy 1.8.0 next weekend. There have been a > few minor fixes since 1.8.0rc2, but nothing that I think warrants > another rc release. Please make sure to test the 1.8.0rc2 or > maintenance/1.8.x branch with your

Re: [Numpy-discussion] 1.8.0rc1

2013-10-02 Thread Christoph Gohlke
On 9/30/2013 8:17 AM, Charles R Harris wrote: Hi All, NumPy 1.8.0rc1 is up now on sourceforge .The binary builds are included except for Python 3.3 on windows, which will arrive later. Many thanks to Ralf for the binaries, and to thos

Re: [Numpy-discussion] [SciPy-Dev] 1.8.0rc1

2013-09-30 Thread Christoph Gohlke
On 9/30/2013 4:44 PM, Julian Taylor wrote: > On 01.10.2013 01:30, Charles R Harris wrote: >> >> >> >> On Mon, Sep 30, 2013 at 5:12 PM, Christoph Gohlke > <mailto:cgoh...@uci.edu>> wrote: >> >> On 9/30/2013 3:45 PM, Charles R Harris wrote: >

Re: [Numpy-discussion] [SciPy-Dev] 1.8.0rc1

2013-09-30 Thread Christoph Gohlke
On 9/30/2013 3:45 PM, Charles R Harris wrote: > > > > On Mon, Sep 30, 2013 at 3:51 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > > > On 9/30/2013 11:02 AM, Nathaniel Smith wrote:> Everyone please do > actually test this! It is really in

Re: [Numpy-discussion] [SciPy-Dev] 1.8.0rc1

2013-09-30 Thread Christoph Gohlke
On 9/30/2013 11:02 AM, Nathaniel Smith wrote:> Everyone please do actually test this! It is really in your best > interest, and I think people don't always realize this. > > Here's how it works: > - If you test it *now*, and it breaks your code that worked with 1.7, > and you *tell* us this now,

Re: [Numpy-discussion] multiprocessing, numpy and 32-64 bit cohabitation

2013-09-19 Thread Christoph Gohlke
On 9/19/2013 1:06 AM, Henry Gomersall wrote: > On 19/09/13 09:05, Henry Gomersall wrote: >> I've had feedback that this is possible. Give me a few hours and I'll >> see what I can do... > > I mean that it builds under win 64-bit. I'll prob push a .exe. > > Cheers, > > Henry It's probbly the wrong

Re: [Numpy-discussion] ANN: 1.8.0b2 release.

2013-09-13 Thread Christoph Gohlke
On 9/13/2013 7:10 PM, Charles R Harris wrote: > Hi Christolph, > > Could you debug this a bit? > > ERROR: test_record_no_hash (test_multiarray.TestRecord) > -- > Traceback (most recent call last): > File > "X:\Python33\lib\site

Re: [Numpy-discussion] ANN: 1.8.0b2 release.

2013-09-08 Thread Christoph Gohlke
On 9/8/2013 12:14 PM, Charles R Harris wrote: > Hi all, > > I'm happy to announce the second beta release of Numpy 1.8.0. This > release should solve the Windows problems encountered in the first beta. > Many thanks to Christolph Gohlke and Julian Taylor for their hard work > in getting those issue

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-05 Thread Christoph Gohlke
On 9/5/2013 1:18 AM, Sebastian Berg wrote: > On Wed, 2013-09-04 at 22:08 -0700, Christoph Gohlke wrote: >> On 9/1/2013 9:54 AM, Charles R Harris wrote: > > > >> >> Hello, >> >> is this IndexError intentional in numpy 1.8? Matplotlib 1.3 fails some >&g

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-04 Thread Christoph Gohlke
On 9/1/2013 9:54 AM, Charles R Harris wrote: > Hi all, > > I'm happy to announce the first beta release of Numpy 1.8.0. Please try > this beta and report any issues on the numpy-dev mailing list. > > Source tarballs and release notes can be found at > https://sourceforge.net/projects/numpy/files/Nu

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-03 Thread Christoph Gohlke
On 9/3/2013 4:52 PM, Charles R Harris wrote: > > > > On Tue, Sep 3, 2013 at 5:45 PM, Charles R Harris > mailto:charlesr.har...@gmail.com>> wrote: > > > > > On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: >

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-03 Thread Christoph Gohlke
On 9/3/2013 4:45 PM, Charles R Harris wrote: > > > > On Tue, Sep 3, 2013 at 5:40 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > On 9/3/2013 2:51 PM, Charles R Harris wrote: > > > > > > > > On Tue, Sep 3, 2013 at

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-03 Thread Christoph Gohlke
On 9/3/2013 4:32 PM, Charles R Harris wrote: > > > > On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > On 9/1/2013 9:54 AM, Charles R Harris wrote: > > Hi all, > > I'm happy to announce the first b

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-03 Thread Christoph Gohlke
On 9/3/2013 2:51 PM, Charles R Harris wrote: > > > > On Tue, Sep 3, 2013 at 3:23 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > On 9/1/2013 9:54 AM, Charles R Harris wrote: > > Hi all, > > I'm happy to announce the first b

Re: [Numpy-discussion] ANN: Numpy 1.8.0 beta 1 release

2013-09-03 Thread Christoph Gohlke
On 9/1/2013 9:54 AM, Charles R Harris wrote: Hi all, I'm happy to announce the first beta release of Numpy 1.8.0. Please try this beta and report any issues on the numpy-dev mailing list. Source tarballs and release notes can be found at https://sourceforge.net/projects/numpy/files/NumPy/1.8.0b

Re: [Numpy-discussion] multivariate_normal issue with 'size' argument

2013-05-24 Thread Christoph Gohlke
On 5/24/2013 7:00 AM, josef.p...@gmail.com wrote: > On Fri, May 24, 2013 at 9:47 AM, Warren Weckesser > wrote: >> On 5/24/13, Peter Cock wrote: >>> On Fri, May 24, 2013 at 2:15 PM, Robert Kern wrote: On Fri, May 24, 2013 at 9:12 AM, Peter Cock wrote: > On Fri, May 24, 2013 at 1:59

Re: [Numpy-discussion] ANN: NumPy 1.7.1rc1 release

2013-03-24 Thread Christoph Gohlke
ease test it and report any bugs. It fixes a few bugs, listed below. > > I would like to thank everybody who contributed patches to this release: > Nathaniel J. Smith, Sebastian Berg, Charles Harris, Bradley M. Froehle, > Ralf Gommers, Christoph Gohlke, Mark Wiebe

Re: [Numpy-discussion] ANN: NumPy 1.7.0rc2 release

2013-02-07 Thread Christoph Gohlke
On 2/6/2013 7:10 PM, Ondřej Čertík wrote: > Hi, > > I'm pleased to announce the availability of the second release candidate of > NumPy 1.7.0rc2. > > Sources and binary installers can be found at > https://sourceforge.net/projects/numpy/files/NumPy/1.7.0rc2/ > > We have fixed all issues known to us

Re: [Numpy-discussion] Any plans for windows 64-bit installer for 1.7?

2013-02-07 Thread Christoph Gohlke
On 2/6/2013 10:35 PM, Ondřej Čertík wrote: > Christoph, > > On Tue, Feb 5, 2013 at 3:04 PM, Christoph Gohlke wrote: > [...] >>> In order not to leave this discussion without a resolution: >>> >>> Christophe - would you allow us to distribute your nu

Re: [Numpy-discussion] Any plans for windows 64-bit installer for 1.7?

2013-02-05 Thread Christoph Gohlke
On 2/5/2013 10:51 AM, Matthew Brett wrote: > Hi, > > On Mon, Feb 4, 2013 at 5:09 PM, Matthew Brett wrote: >> Hi, >> >> On Mon, Feb 4, 2013 at 3:46 PM, Charles R Harris >> wrote: >>> >>> >>> On Mon, Feb 4, 2013 at 4:04 PM, Robert Kern wrote: On Mon, Feb 4, 2013 at 10:38 PM, Matthew Bret

Re: [Numpy-discussion] Any plans for windows 64-bit installer for 1.7?

2013-02-04 Thread Christoph Gohlke
On 2/4/2013 12:59 PM, David Cournapeau wrote: > On Mon, Feb 4, 2013 at 8:27 PM, Ondřej Čertík wrote: >> On Sun, Feb 3, 2013 at 2:57 AM, David Cournapeau wrote: >>> On Sun, Feb 3, 2013 at 12:28 AM, wrote: On Sat, Feb 2, 2013 at 6:14 PM, Matthew Brett wrote: > Hi, > > I se

Re: [Numpy-discussion] Installing numpy-mkl binary on top of Python(x, y)

2013-01-27 Thread Christoph Gohlke
g if I > could just install the Python(x,y) -distribution and then take one of the > NumPy-MKL binaries provided > by Christoph Gohlke. Is it simple as that? Any downsides, will SciPy work as > well? On the plus side, I would get Spyder2 without hassle and it looks nice >

Re: [Numpy-discussion] Building Numpy 1.6.2 for Python 3.3 on Windows

2013-01-10 Thread Christoph Gohlke
On 1/10/2013 8:35 AM, klo wrote: >> I reported this issue/bug to the mailing list recently as part of >> a discussion with Ralf which lead to various fixes being made >> to get NumPy to compile with either mingw32 or MSCV 10. > >> http://mail.scipy.org/pipermail/numpy-discussion/2012-November/06445

Re: [Numpy-discussion] ANN: NumPy 1.7.0rc1 release

2012-12-29 Thread Christoph Gohlke
On 12/28/2012 4:02 PM, Ondřej Čertík wrote: > Hi, > > I'm pleased to announce the availability of the first release candidate of > NumPy 1.7.0rc1. > > Sources and binary installers can be found at > https://sourceforge.net/projects/numpy/files/NumPy/1.7.0rc1/ > > We have fixed all issues known to u

Re: [Numpy-discussion] ValueError: low level cast function is for unequal type numbers

2012-12-13 Thread Christoph Gohlke
On 12/13/2012 1:57 PM, Andrew Collette wrote: > Hi, > >> the following code using np.object_ data types works with numpy 1.5.1 >> but fails with 1.6.2. Is this intended or a regression? Other data >> types, np.float64 for example, seem to work. > > I am also seeing this problem; there was a change

[Numpy-discussion] ValueError: low level cast function is for unequal type numbers

2012-12-07 Thread Christoph Gohlke
Hello, the following code using np.object_ data types works with numpy 1.5.1 but fails with 1.6.2. Is this intended or a regression? Other data types, np.float64 for example, seem to work. In [1]: import numpy as np In [2]: np.array(['a'], dtype='O').astype(('O', [('name', 'O')]))

Re: [Numpy-discussion] Speed bottlenecks on simple tasks - suggested improvement

2012-12-02 Thread Christoph Gohlke
On 12/2/2012 5:28 PM, Raul Cota wrote: > Hello, > > First a quick summary of my problem and at the end I include the basic > changes I am suggesting to the source (they may benefit others) > > I am ages behind in times and I am still using Numeric in Python 2.2.3. > The main reason why it has taken

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-16 Thread Christoph Gohlke
On 11/16/2012 1:28 AM, Peter Cock wrote: > On Thu, Nov 15, 2012 at 6:15 PM, Christoph Gohlke wrote: >> >> Naturally the file would be named msvc10compiler.py but the name may be >> kept for compatibility reasons. AFAIK msvc10 does not use manifests any >> longer for t

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-15 Thread Christoph Gohlke
On 11/15/2012 6:24 AM, Peter Cock wrote: > On Wed, Nov 14, 2012 at 7:35 PM, Christoph Gohlke wrote: >>> ... >>> RuntimeError: Broken toolchain: cannot link a simple C program >>> >>> It appears a similar issue was raised before: >>> http://mai

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-14 Thread Christoph Gohlke
On 11/14/2012 10:10 AM, Peter Cock wrote: > Changing title to reflect the fact this thread is now about using > the Microsoft compiler rather than mingw32 as in the old thread. > > On Sat, Nov 10, 2012 at 11:04 PM, Peter Cock > wrote: >> On Sat, Nov 10, 2012 at 5:47 PM, Ralf Gommers wrote: >>> >

Re: [Numpy-discussion] Status of fixing bugs for the 1.7.0rc1 release

2012-09-16 Thread Christoph Gohlke
On 9/16/2012 3:06 PM, Han Genuit wrote: > [snip] > >> Hello, >> >> I ran some compatibility tests on Windows, using >> numpy-MKL-1.7.x.dev.win-amd64-py2.7 with packages built against >> numpy-MKL-1.6.2. >> >> There are new test failures in scipy, bottleneck, pymc, and mvpa2 of the >> following type

Re: [Numpy-discussion] Status of fixing bugs for the 1.7.0rc1 release

2012-09-16 Thread Christoph Gohlke
On 9/16/2012 12:19 AM, Ondřej Čertík wrote: > Hi, > > I've finally finished review of > > https://github.com/numpy/numpy/pull/439 > > which back-ports all the PRs from master into the release branch and > pushed it in. Here is the current status of bugs for the 1.7.0 > release: > > https://github.c

Re: [Numpy-discussion] ANN: NumPy 1.7.0b1 release

2012-08-22 Thread Christoph Gohlke
On 8/22/2012 6:26 AM, Charles R Harris wrote: > > > On Tue, Aug 21, 2012 at 1:59 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > On 8/21/2012 9:24 AM, Ondřej Čertík wrote: > > Hi, > > > > I'm pleased to announce the availabi

Re: [Numpy-discussion] ANN: NumPy 1.7.0b1 release

2012-08-21 Thread Christoph Gohlke
On 8/21/2012 9:24 AM, Ondřej Čertík wrote: > Hi, > > I'm pleased to announce the availability of the first beta release of > NumPy 1.7.0b1. > > Sources and binary installers can be found at > https://sourceforge.net/projects/numpy/files/NumPy/1.7.0b1/ > > Please test this release and report any iss

Re: [Numpy-discussion] Status of NumPy and Python 3.3

2012-07-28 Thread Christoph Gohlke
On 7/28/2012 6:17 PM, Christoph Gohlke wrote: > On 7/28/2012 6:09 PM, Ondřej Čertík wrote: >> On Sat, Jul 28, 2012 at 5:09 PM, Ondřej Čertík >> wrote: >>> On Sat, Jul 28, 2012 at 3:31 PM, Ondřej Čertík >>> wrote: >>>> On Sat, Jul 28, 2012 at 3:04

Re: [Numpy-discussion] Status of NumPy and Python 3.3

2012-07-28 Thread Christoph Gohlke
On 7/28/2012 6:09 PM, Ondřej Čertík wrote: > On Sat, Jul 28, 2012 at 5:09 PM, Ondřej Čertík > wrote: >> On Sat, Jul 28, 2012 at 3:31 PM, Ondřej Čertík >> wrote: >>> On Sat, Jul 28, 2012 at 3:04 PM, Ondřej Čertík >>> wrote: Many of the failures in https://gist.github.com/3194707/5696

Re: [Numpy-discussion] NumPy 1.7 release delays

2012-06-27 Thread Christoph Gohlke
On 6/26/2012 8:13 PM, Travis Oliphant wrote: >> For the main repos we use buildbot and test on: >> >> Ubuntu Maverick 32-bit >> Debian sid 64-bit >> OSX 10.4 PPC >> OSX 10.5 Intel >> Debian wheezy PPC >> Debian squeeze ARM (a Raspberry PI no less) >> WIndows XP 32 bit >> SPARC (courtesy of our frie

Re: [Numpy-discussion] ANN: NumPy 1.6.2 release candidate 1

2012-05-05 Thread Christoph Gohlke
On 5/5/2012 2:51 PM, Christoph Gohlke wrote: > > > On 5/5/2012 11:15 AM, Ralf Gommers wrote: >> Hi, >> >> I'm pleased to announce the availability of the first release candidate >> of NumPy 1.6.2. This is a maintenance release. Due to the delay of the >

Re: [Numpy-discussion] ANN: NumPy 1.6.2 release candidate 1

2012-05-05 Thread Christoph Gohlke
On 5/5/2012 11:15 AM, Ralf Gommers wrote: > Hi, > > I'm pleased to announce the availability of the first release candidate > of NumPy 1.6.2. This is a maintenance release. Due to the delay of the > NumPy 1.7.0, this release contains far more fixes than a regular NumPy > bugfix release. It also

Re: [Numpy-discussion] 1.6.2 release - backports and MSVC testing help

2012-05-01 Thread Christoph Gohlke
On 4/30/2012 1:16 PM, Ralf Gommers wrote: > Hi all, > > Charles has done a great job of backporting a lot of bug fixes to 1.6.2, > see PRs 260, 261, 262 and 263. For those who are interested, please have > a look at those PRs to see and comment on what's proposed to go into 1.6.2. > > I also have

Re: [Numpy-discussion] 1.6.2 release - backports and MSVC testing help

2012-04-30 Thread Christoph Gohlke
On 4/30/2012 1:16 PM, Ralf Gommers wrote: > Hi all, > > Charles has done a great job of backporting a lot of bug fixes to 1.6.2, > see PRs 260, 261, 262 and 263. For those who are interested, please have > a look at those PRs to see and comment on what's proposed to go into 1.6.2. > > I also have

Re: [Numpy-discussion] f2py and pygtk on windows

2012-03-11 Thread Christoph Gohlke
On 3/10/2012 9:31 PM, Sameer Grover wrote: > On 10 March 2012 02:23, Christoph Gohlke wrote: >> >> >> On 3/9/2012 11:50 AM, Sameer Grover wrote: >>>>>> import gtk >>>>>> import foo # where foo is any f2py-wrapped program >>>

Re: [Numpy-discussion] ArgumentError when using numpy.ctypeslib.ndpointer

2012-03-11 Thread Christoph Gohlke
On 3/11/2012 4:33 AM, Pauli Virtanen wrote: > 11.03.2012 09:09, Christoph Gohlke kirjoitti: >> I am unable to get the simple numpy.ctypeslib.ndpointer docstring >> example from >> <http://docs.scipy.org/doc/numpy/reference/routines.ctypeslib.html> >> work

[Numpy-discussion] ArgumentError when using numpy.ctypeslib.ndpointer

2012-03-11 Thread Christoph Gohlke
Hello, I am unable to get the simple numpy.ctypeslib.ndpointer docstring example from working on Windows. Given a DLL `foo.dll` that exports a function `int bar(double *)`, calling foo.bar using the np.ctypeslib.ndpointer a

Re: [Numpy-discussion] f2py and pygtk on windows

2012-03-09 Thread Christoph Gohlke
On 3/9/2012 11:50 AM, Sameer Grover wrote: import gtk import foo # where foo is any f2py-wrapped program > > Subsequently, on exiting python interpreter, the interpreter crashes > with this error message - "This application has requested the Runtime > to terminate it in an unusual way.

Re: [Numpy-discussion] subclassing array in c

2012-03-07 Thread Christoph Gohlke
FWIW, this crashes on Windows with numpy 1.6.1 but not numpy 1.7-git debug build. Christoph Gohlke On 3/7/2012 5:36 PM, Val Kalatsky wrote: > > Tried it on my Ubuntu 10.10 box, no problem: > > 1) Saved as spampub.c > 2) Compiled with (setup.py attached): python setup.py b

Re: [Numpy-discussion] advanced indexing bug with huge arrays?

2012-01-23 Thread Christoph Gohlke
On 1/23/2012 12:33 PM, David Warde-Farley wrote: > On Mon, Jan 23, 2012 at 08:38:44PM +0100, Robin wrote: >> On Mon, Jan 23, 2012 at 7:55 PM, David Warde-Farley >> wrote: >>> I've reproduced this (rather serious) bug myself and confirmed that it >>> exists >>> in master, and as far back as 1.4

Re: [Numpy-discussion] Crash on (un-orthodox) __import__

2011-10-07 Thread Christoph Gohlke
On 10/6/2011 9:33 PM, Robert Kern wrote: > On Thu, Oct 6, 2011 at 17:25, Paul Ivanov wrote: >> Hi Andrea, >> >> On Tue, Oct 4, 2011 at 3:04 AM, Andrea Gavana >> wrote: >>> Hi All, >>> I was fiddling here and there with some code doing dynamic import of >>> stuff, and I noticed that this c

Re: [Numpy-discussion] f2py : NotImplementedError: Only MS compiler supported with gfortran on win64

2011-09-09 Thread Christoph Gohlke
On 9/9/2011 12:22 PM, Jim Vickroy wrote: > On 9/9/2011 1:14 PM, Christoph Gohlke wrote: >> >> On 9/9/2011 11:43 AM, Jim Vickroy wrote: >>> On 9/9/2011 11:46 AM, Christoph Gohlke wrote: >>>> On 9/9/2011 7:22 AM, Jim Vickroy wrote: >>>>> On 9/8/2

Re: [Numpy-discussion] f2py : NotImplementedError: Only MS compiler supported with gfortran on win64

2011-09-09 Thread Christoph Gohlke
On 9/9/2011 11:43 AM, Jim Vickroy wrote: > On 9/9/2011 11:46 AM, Christoph Gohlke wrote: >> >> On 9/9/2011 7:22 AM, Jim Vickroy wrote: >>> On 9/8/2011 10:44 AM, "V. Armando Solé" wrote: >>>> On 08/09/2011 16:16, Jim Vickroy wrote: >>>>&

Re: [Numpy-discussion] f2py : NotImplementedError: Only MS compiler supported with gfortran on win64

2011-09-09 Thread Christoph Gohlke
On 9/9/2011 7:22 AM, Jim Vickroy wrote: > On 9/8/2011 10:44 AM, "V. Armando Solé" wrote: >> On 08/09/2011 16:16, Jim Vickroy wrote: >>> On 9/8/2011 6:09 AM, "V. Armando Solé" wrote: Have you tried to install Visual Studio 2008 Express edition (plus the windows SDK to be able to compile

Re: [Numpy-discussion] Numeric 24.2 for Python 2.4 on Windows 7?

2011-09-07 Thread Christoph Gohlke
On 9/7/2011 11:27 AM, Dietmar Schwertberger wrote: > Hi! > > Does anybody have Numeric 24.2 binaries for Python 2.4 which are > compatible with Windows 7 SP1? > > > Regards, > > Dietmar > simply recompiling from source seems to work: Christo

Re: [Numpy-discussion] dtype and shape for 1.6.1 seems broken?

2011-08-18 Thread Christoph Gohlke
On 8/18/2011 7:24 PM, Robert Love wrote: > > This works under 1.5.1 and 1.6.0 but gives me errors in 1.6.1 > > import numpy as np > > def main(): > > print"numpy version: "+ np.__version__ > > zdt = np.dtype([('et','i4'),('r','f8',3)]) > > zdata = np.loadtxt('zdum.txt', zdt) > > In 1.6.1 I get th

Re: [Numpy-discussion] Build error on Windows

2011-07-14 Thread Christoph Gohlke
On 7/14/2011 6:56 PM, Chris Barker wrote: Hi folks, I'm trying to build numpy HEAD on Windows in preparation for the SciPy sprints tomorrow. I've never built numpy on Windows, and I'm new to git, so I could be doing any number of things wrong. I think I have the latest code: C:\Documents and

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 3

2011-07-11 Thread Christoph Gohlke
On 7/11/2011 12:28 PM, Ralf Gommers wrote: > Hi, > > I am pleased to announce the availability of the third release candidate > of NumPy 1.6.1. This is a bugfix release, list of fixed bugs: > #1834 einsum fails for specific shapes > #1837 einsum throws nan or freezes python for specific array

[Numpy-discussion] numpy build issue on i7-2600K CPU

2011-07-10 Thread Christoph Gohlke
Hello, building numpy 1.6.1rc2 on Windows, i7-2600K CPU, with msvc9 failed with the following error: File "numpy/core/setup_common.py", line 271, in long_double_representation raise ValueError("Could not lock sequences (%s)" % saw) ValueError: Could not lock sequences (None) This problem

Re: [Numpy-discussion] ANN: NumPy 1.6.1 release candidate 2

2011-07-06 Thread Christoph Gohlke
On 7/6/2011 10:57 AM, Russell E. Owen wrote: > In article > , > Ralf Gommers wrote: > >> On Tue, Jul 5, 2011 at 11:41 PM, Russell E. Owen wrote: >> >>> In article, >>> Ralf Gommers wrote: >>> https://sourceforge.net/projects/numpy/files/NumPy/1.6.1rc2/ >>> >>> Will there be a Mac bina

Re: [Numpy-discussion] ANN: Numpy 1.6.1 release candidate 1

2011-06-20 Thread Christoph Gohlke
On 6/13/2011 5:58 AM, Ralf Gommers wrote: > Hi, > > I am pleased to announce the availability of the first release candidate > of NumPy 1.6.1. This is a bugfix release, list of fixed bugs: > #1834 einsum fails for specific shapes > #1837 einsum throws nan or freezes python for specific array

Re: [Numpy-discussion] Py3: numpy.rec.array fails with open file

2011-05-25 Thread Christoph Gohlke
On 5/25/2011 7:23 PM, Charles R Harris wrote: > > > On Wed, May 25, 2011 at 7:29 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > Hello, > > the following code raises a ValueError on Python 3, but works as > expected with Python

[Numpy-discussion] Py3: numpy.rec.array fails with open file

2011-05-25 Thread Christoph Gohlke
Hello, the following code raises a ValueError on Python 3, but works as expected with Python 2: >>> import sys, numpy >>> fd = open(sys.executable, 'rb') >>> numpy.rec.array(fd, dtype=[('_', 'b')]) Traceback (most recent call last): File "", line 1, in File "C:\Python32\lib\site-packages\

Re: [Numpy-discussion] Windows Registry Keys

2011-05-19 Thread Christoph Gohlke
On 5/19/2011 11:24 AM, Mathew Yeates wrote: > Right. The Registry keys point to the old Python27. > > On Thu, May 19, 2011 at 11:23 AM, Alan G Isaac wrote: >> On 5/19/2011 2:15 PM, Mathew Yeates wrote: >>> I*am* using the windows installer. >> >> And you find that it does not find your most rec

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

2011-05-03 Thread Christoph Gohlke
On 5/3/2011 11:18 AM, Ralf Gommers wrote: > Hi, > > I am pleased to announce the availability of the second release > candidate of NumPy 1.6.0. > > Compared to the first release candidate, one segfault on (32-bit > Windows + MSVC) and several memory leaks were fixed. If no new > problems are repo

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 1

2011-05-01 Thread Christoph Gohlke
On 4/30/2011 9:27 PM, Mark Wiebe wrote: On Sat, Apr 30, 2011 at 9:11 PM, Christoph Gohlke mailto:cgoh...@uci.edu>> wrote: On 4/30/2011 6:37 PM, Charles R Harris wrote: > > > On Sat, Apr 30, 2011 at 6:50 PM, Christoph Gohlke mailto:cgoh...@uci.edu>

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 1

2011-04-30 Thread Christoph Gohlke
On 4/30/2011 6:37 PM, Charles R Harris wrote: > > > On Sat, Apr 30, 2011 at 6:50 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > > > On 4/30/2011 4:58 PM, Charles R Harris wrote: > > > > > > O

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 1

2011-04-30 Thread Christoph Gohlke
On 4/30/2011 4:58 PM, Charles R Harris wrote: > > > On Sat, Apr 30, 2011 at 5:53 PM, Charles R Harris > mailto:charlesr.har...@gmail.com>> wrote: > > > > > I get a null pointer access violation during numpy.test() with all > msvc9/MKL builds for win32 (not win-amd64). The cra

Re: [Numpy-discussion] ANN: Numpy 1.6.0 release candidate 1

2011-04-30 Thread Christoph Gohlke
On 4/30/2011 1:19 PM, Ralf Gommers wrote: > Hi, > > I am pleased to announce the availability of the first release > candidate of NumPy 1.6.0. If no new problems are reported, the final > release will be in one week. > > Sources and binaries can be found at > http://sourceforge.net/projects/numpy

Re: [Numpy-discussion] Memmap with multiprocessing

2011-04-27 Thread Christoph Gohlke
I don't think this was working correctly in numpy 1.4 either. The underlying problem seems to be that instance attributes of ndarray subtypes get lost during pickling: import pickle import numpy as np class aarray(np.ndarray): def __new__(subtype): self = np.ndarray.__new__(subtype

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Christoph Gohlke
On 4/23/2011 2:47 PM, Charles R Harris wrote: On Sat, Apr 23, 2011 at 3:38 PM, Christoph Gohlke mailto:cgoh...@uci.edu>> wrote: On 4/23/2011 10:41 AM, Charles R Harris wrote: > > > On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey mailto:bso

Re: [Numpy-discussion] Python crashes while printing a huge numpy array (Windows 1.6b2)

2011-04-23 Thread Christoph Gohlke
On 4/23/2011 10:41 AM, Charles R Harris wrote: > > > On Sat, Apr 23, 2011 at 11:09 AM, Bruce Southey > wrote: > > On Sat, Apr 23, 2011 at 9:58 AM, Till Stensitzki > wrote: > > > > > Do you also have an earlier version of numpy

Re: [Numpy-discussion] Segfault using "fromstring" and reading variable length string

2011-04-22 Thread Christoph Gohlke
On 4/22/2011 2:52 PM, Gökhan Sever wrote: > > > On Fri, Apr 22, 2011 at 12:37 PM, Ralf Gommers > mailto:ralf.gomm...@googlemail.com>> wrote: > > On Thu, Apr 21, 2011 at 10:06 PM, Gökhan Sever > mailto:gokhanse...@gmail.com>> wrote: > > Hello, > > Given this piece of code (I can

Re: [Numpy-discussion] status for 1.6.0

2011-04-20 Thread Christoph Gohlke
On 4/20/2011 1:55 PM, Ralf Gommers wrote: > On Mon, Apr 18, 2011 at 2:36 AM, Christoph Gohlke wrote: >> >> >> On 4/17/2011 8:55 AM, Ralf Gommers wrote: >>> >>> Hi, >>> >>> The list of open issues for 1.6.0 is down to a handful: >>&g

Re: [Numpy-discussion] status for 1.6.0

2011-04-17 Thread Christoph Gohlke
On 4/17/2011 8:55 AM, Ralf Gommers wrote: Hi, The list of open issues for 1.6.0 is down to a handful: - f2py segfault on Ubuntu reported by David (David, did you get any further with this?) - #1801: test_noncentral_f failure on win64 - #1798: type promotion regression (needs review, https://g

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 2

2011-04-05 Thread Christoph Gohlke
On 4/5/2011 7:44 PM, Mark Wiebe wrote: > On Tue, Apr 5, 2011 at 7:21 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > > > On 4/5/2011 6:46 PM, Mark Wiebe wrote: > > On Tue, Apr 5, 2011 at 5:07 PM, Christoph Gohlke <mailto:cgoh...@uci.edu&

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 2

2011-04-05 Thread Christoph Gohlke
On 4/5/2011 6:46 PM, Mark Wiebe wrote: > On Tue, Apr 5, 2011 at 5:07 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > > > On 4/5/2011 4:05 PM, Mark Wiebe wrote: > > On Mon, Apr 4, 2011 at 9:10 PM, Christoph Gohlke <mailto:cgoh...@uci.edu&

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 2

2011-04-05 Thread Christoph Gohlke
On 4/5/2011 4:05 PM, Mark Wiebe wrote: > On Mon, Apr 4, 2011 at 9:10 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > > > > A few numpy tests fail on win-amd64: > > > > ==

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 2

2011-04-04 Thread Christoph Gohlke
On 4/4/2011 1:04 PM, Ralf Gommers wrote: > Hi, > > I am pleased to announce the availability of the second beta of NumPy > 1.6.0. Due to the extensive changes in the Numpy core for this > release, the beta testing phase will last at least one month. Please > test this beta and report any problems

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-15 Thread Christoph Gohlke
On 3/15/2011 5:13 PM, Matthew Brett wrote: > Hi, > > On Tue, Mar 15, 2011 at 10:23 AM, Matthew Brett > wrote: >> Hi, >> >> On Tue, Mar 15, 2011 at 10:12 AM, Pauli Virtanen wrote: >>> Tue, 15 Mar 2011 10:06:09 -0700, Matthew Brett wrote: Sorry to ask, and I ask partly because I'm in the mi

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-15 Thread Christoph Gohlke
On 3/15/2011 11:34 AM, Christoph Gohlke wrote: > > > On 3/15/2011 10:12 AM, Pauli Virtanen wrote: >> Tue, 15 Mar 2011 10:06:09 -0700, Matthew Brett wrote: >>> Sorry to ask, and I ask partly because I'm in the middle of a py3k port, >>> but is this the righ

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-15 Thread Christoph Gohlke
On 3/15/2011 10:12 AM, Pauli Virtanen wrote: > Tue, 15 Mar 2011 10:06:09 -0700, Matthew Brett wrote: >> Sorry to ask, and I ask partly because I'm in the middle of a py3k port, >> but is this the right fix to this problem? I was confused by the >> presence of the old PyString_AsString function.

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-14 Thread Christoph Gohlke
> > Nadav. > > From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.org] > On Behalf Of Christoph Gohlke [cgoh...@uci.edu] > Sent: 13 March 2011 00:37 > To: numpy-discussion@scipy.org > Subject: Re: [Numpy-discussion] [OT] a

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Christoph Gohlke
Hi Stéfan, I am sending you this off list. I just tried scikits.image from git on Windows. The attached patch fixes some minor build and test issues. Scikits.image.io occasionally seems to shadow Python's io module such that `import gzip` fails. There are 5 test failures like this: ===

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Christoph Gohlke
On 3/13/2011 11:29 AM, Matthew Brett wrote: > Hi > > On Sun, Mar 13, 2011 at 9:54 AM, Christoph Gohlke wrote: >> On 3/13/2011 1:57 AM, Matthew Brett wrote: >>> Hi, >>> I have this on my OSX 10.6 system and numpy 1.5.1 and current numpy >>> head (30ee

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Christoph Gohlke
On 3/13/2011 1:57 AM, Matthew Brett wrote: > Hi, > > I have this on my OSX 10.6 system and numpy 1.5.1 and current numpy > head (30ee1d352): > > $ python3.2 > Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin > Type "help", "copyright", "credits" or "li

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Christoph Gohlke
n-boun...@scipy.org [numpy-discussion-boun...@scipy.org] > On Behalf Of Christoph Gohlke [cgoh...@uci.edu] > Sent: 13 March 2011 00:37 > To: numpy-discussion@scipy.org > Subject: Re: [Numpy-discussion] [OT] any image io module thatworks > withpython3? > > On 3

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Christoph Gohlke
t; Any idea on how to correct it? Any elegant way to avoid byte compiling? >> >> Nadav >> >> >> >> From: numpy-discussion-boun...@scipy.org >> [numpy-discussion-boun...@scipy.org] On Behalf Of Zachary Pincus >

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Christoph Gohlke
l Python > Subject: Re: [Numpy-discussion] [OT] any image io module that works with > python3? > > Here's a ctypes interface to FreeImage that I wrote a while back and > was since cleaned up (and maintained) by the scikits.image folk: > > https://github.com/stefanv/scikit

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-12 Thread Christoph Gohlke
On 3/12/2011 1:08 AM, Nadav Horesh wrote: > Having numpy, scipy, and matplotlib working reasonably with python3, a > major piece of code I miss for a major python3 migration is an image IO. > I found that pylab's imread works fine for png image, but I need to read > all the other image format as

Re: [Numpy-discussion] Crash with nested recarray on Python 3.x

2011-03-10 Thread Christoph Gohlke
On 3/9/2011 10:29 PM, Charles R Harris wrote: > > > On Wed, Mar 9, 2011 at 11:20 PM, Christoph Gohlke <mailto:cgoh...@uci.edu>> wrote: > > Hello, > > the following code crashes in the last line when using numpy 1.5.1 on > Python 3.1 and 3.2, 32 and 6

  1   2   >