Re: [Numpy-discussion] Numpy and Python3

2010-12-12 Thread Katharina
Hi Chuck, You are right, it works. I had so many versions of Numpy, that in the end I lost track. *Sorry* But now it works perfectly. Thank you for the help. /Ingwer ps: I know SciPY has its own Mail list, but it could be, that somebody can answer my question. Does SciPy works on Python3.1?

Re: [Numpy-discussion] Numpy and Python3

2010-12-12 Thread Charles R Harris
On Sun, Dec 12, 2010 at 11:06 AM, Katharina ingwer.wur...@gmx.net wrote: Hi Chuck, You are right, it works. I had so many versions of Numpy, that in the end I lost track. *Sorry* But now it works perfectly. Thank you for the help. /Ingwer ps: I know SciPY has its own Mail list, but it

Re: [Numpy-discussion] Numpy and Python3

2010-12-12 Thread Katharina
ok, thanks /Ingwer Am Sonntag, den 12.12.2010, 12:23 -0700 schrieb Charles R Harris: On Sun, Dec 12, 2010 at 11:06 AM, Katharina ingwer.wur...@gmx.net wrote: Hi Chuck, You are right, it works. I had so many versions of Numpy, that in the end I lost track.

Re: [Numpy-discussion] Numpy and Python3

2010-12-11 Thread Katharina
Hi, I install Python3.1, but I get the same Error: sudo python3 setup.py build --fcompiler=gnu95 Converting to Python3 via 2to3... RefactoringTool: Skipping implicit fixer: buffer

Re: [Numpy-discussion] Numpy and Python3

2010-12-11 Thread Charles R Harris
On Sat, Dec 11, 2010 at 5:41 AM, Katharina ingwer.wur...@gmx.net wrote: Hi, I install Python3.1, but I get the same Error: sudo python3 setup.py build --fcompiler=gnu95 Converting to

Re: [Numpy-discussion] Numpy and Python3

2010-12-11 Thread Katharina
Hi, yes my build is in /usr/local/lib/python3.1/site-packages/numpy-1.5.1. Is't wrong? / Ingwer Am Samstag, den 11.12.2010, 08:05 -0700 schrieb Charles R Harris: On Sat, Dec 11, 2010 at 5:41 AM, Katharina ingwer.wur...@gmx.net wrote: Hi, I install Python3.1, but I get the

Re: [Numpy-discussion] Numpy and Python3

2010-12-11 Thread Charles R Harris
On Sat, Dec 11, 2010 at 11:53 AM, Katharina ingwer.wur...@gmx.net wrote: Hi, yes my build is in /usr/local/lib/python3.1/site-packages/numpy-1.5.1. Is't wrong? Well, let's find out ;) Move your numpy download somewhere like ~/numpy-1.5.1, then do cd numpy-1.5.1 python3.1 setup.py build sudo

[Numpy-discussion] Numpy and Python3

2010-12-10 Thread Katharina
Hello everyone, first, I'm really apologise for my English-skills. But I have only one simple questions. Does NumPy work on Python3 now. I read so many articles on the Internet, but you can only read some speculation and not a clear state about this topic. At the moment I try numpy1.5.1 on

Re: [Numpy-discussion] Numpy and Python3

2010-12-10 Thread Ralf Gommers
On Fri, Dec 10, 2010 at 6:33 PM, Katharina ingwer.wur...@gmx.net wrote: Hello everyone, first, I'm really apologise for my English-skills. But I have only one simple questions. Does NumPy work on Python3 now. I read so many articles on the Internet, but you can only read some speculation

Re: [Numpy-discussion] Numpy and Python3

2010-12-10 Thread Charles R Harris
On Fri, Dec 10, 2010 at 3:33 AM, Katharina ingwer.wur...@gmx.net wrote: Hello everyone, first, I'm really apologise for my English-skills. But I have only one simple questions. Does NumPy work on Python3 now. I read so many articles on the Internet, but you can only read some speculation

Re: [Numpy-discussion] Numpy on Python3

2009-11-24 Thread René Dudfield
On Mon, Nov 23, 2009 at 7:19 AM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 23, 2009 at 2:35 PM, Pauli Virtanen p...@iki.fi wrote: It might be nice to have this merged in at some point after 1.4.0 (after the most obvious glaring bugs have been fixed), so that we could perhaps

Re: [Numpy-discussion] Numpy on Python3

2009-11-24 Thread René Dudfield
awesome work Pauli! ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy on Python3

2009-11-24 Thread René Dudfield
On Mon, Nov 23, 2009 at 10:08 AM, Pauli Virtanen p...@iki.fi wrote: Setup.py runs 2to3 automatically for all changed files. Of course, if it's possible to cater for24 and 3 at the same time,that's good. How do you work around the relative imports andthe changed exception catching syntax?

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread Pauli Virtanen
Setup.py runs 2to3 automatically for all changed files. Of course, if it's possible to cater for24 and 3 at the same time,that's good. How do you work around the relative imports andthe changed exception catching syntax? -- alkuper. viesti -- Aihe: Re: [Numpy-discussion] Numpy on Python3

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread Pauli Virtanen
The issue with longs is that we wouldn't want array([1,2,3]) create object arrays -- so we need to decide on casting rules for longs. Currently, I think they're treated like python2 ints. -- alkuper. viesti -- Aihe: Re: [Numpy-discussion] Numpy on Python3 Lähettäjä: Charles R Harris

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread David Cournapeau
Pauli Virtanen wrote: Setup.py runs 2to3 automatically for all changed files. Yes, but I think it is more practical to have the build process to be 2 and 3-compatible. Of course, if it's possible to cater for24 and 3 at the same time,that's good. How do you work around the relative imports

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread Pauli Virtanen
Mon, 23 Nov 2009 01:40:00 -0500, Pierre GM wrote: [clip] XXX: 3K: numpy.ma is disabled for now -- some issues What are the issues ? Something resolving which would have taken more than 5 minutes :) Possibly because something that ma depends on is currently broken in numpy.core. I just

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread Pauli Virtanen
Mon, 23 Nov 2009 08:58:47 +0100, Sturla Molden wrote: Pauli Virtanen skrev: XXX: 3K: numpy.random is disabled for now, uses PyString_* XXX: 3K: numpy.ma is disabled for now -- some issues I thought numpy.random uses Cython? Is it just a matter of recompiling the pyx-file? The Cython file

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread Pierre GM
On Nov 23, 2009, at 4:36 AM, Pauli Virtanen wrote: Mon, 23 Nov 2009 01:40:00 -0500, Pierre GM wrote: [clip] XXX: 3K: numpy.ma is disabled for now -- some issues What are the issues ? Something resolving which would have taken more than 5 minutes :) Possibly because something that ma

Re: [Numpy-discussion] Numpy on Python3

2009-11-23 Thread Dag Sverre Seljebotn
Pauli Virtanen wrote: Mon, 23 Nov 2009 08:58:47 +0100, Sturla Molden wrote: Pauli Virtanen skrev: XXX: 3K: numpy.random is disabled for now, uses PyString_* XXX: 3K: numpy.ma is disabled for now -- some issues I thought numpy.random uses Cython? Is it just a matter of

[Numpy-discussion] Numpy on Python3

2009-11-22 Thread Pauli Virtanen
http://github.com/pv/numpy-work/tree/py3k $ mkdir -p $PWD/dist/lib/python3.1/site-packages $ python3 setup.py install --prefix=$PWD/dist $ cd $PWD/dist/lib/python3.1/site-packages python3 Python 3.1.1+ (r311:74480, Oct 11 2009, 20:22:16) [GCC 4.4.1] on linux2 Type help, copyright, credits or

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread David Cournapeau
On Mon, Nov 23, 2009 at 2:35 PM, Pauli Virtanen p...@iki.fi wrote: It might be nice to have this merged in at some point after 1.4.0 (after the most obvious glaring bugs have been fixed), so that we could perhaps start aiming for Python3 compatibility in Numpy 1.5.0. One thing I have on my

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread Charles R Harris
On Sun, Nov 22, 2009 at 10:35 PM, Pauli Virtanen p...@iki.fi wrote: http://github.com/pv/numpy-work/tree/py3k $ mkdir -p $PWD/dist/lib/python3.1/site-packages $ python3 setup.py install --prefix=$PWD/dist $ cd $PWD/dist/lib/python3.1/site-packages python3 Python 3.1.1+ (r311:74480, Oct 11

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread Pierre GM
On Nov 23, 2009, at 12:35 AM, Pauli Virtanen wrote: http://github.com/pv/numpy-work/tree/py3k $ mkdir -p $PWD/dist/lib/python3.1/site-packages $ python3 setup.py install --prefix=$PWD/dist $ cd $PWD/dist/lib/python3.1/site-packages python3 Python 3.1.1+ (r311:74480, Oct 11 2009, 20:22:16)

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread Sturla Molden
Pauli Virtanen skrev: XXX: 3K: numpy.random is disabled for now, uses PyString_* XXX: 3K: numpy.ma is disabled for now -- some issues I thought numpy.random uses Cython? Is it just a matter of recompiling the pyx-file? I remember Dag was working on this a bit: how far did it go?