Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-06-02 Thread Adrian Klaver
On 06/02/2015 01:24 AM, Rémi Cura wrote: Hey, python is installed from official binary, 64 b for windows, in C/Python32 I can't remember the argument, but it might be irrelevant. The problem doesn't seem to be to install numpy, it works perfectly in the regular terminal. The problem seems to be

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-06-02 Thread Rémi Cura
Hey, python is installed from official binary, 64 b for windows, in C/Python32 I can't remember the argument, but it might be irrelevant. The problem doesn't seem to be to install numpy, it works perfectly in the regular terminal. The problem seems to be that postgres can't use correctly numpy.

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-06-01 Thread Adrian Klaver
On 06/01/2015 09:09 AM, Rémi Cura wrote: Hey, thanks to help me with that. I started fresh to have a truly reproducible process, so you can have all information and rule out some error possibilities. - Uninstall all python. - Check that PythonPath doesn't exist anymore - check that python

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-06-01 Thread Rémi Cura
Here is the test code --- --creating plpython3u DROP LANGUAGE plpython3u CASCADE; CREATE LANGUAGE plpython3u ; --create a test function DROP FUNCTION IF EXISTS rc_test_python( ); CREATE FUNCTION rc_test_python( ) RETURNS void AS $$""" @brief This function test python """ import sys

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-06-01 Thread Rémi Cura
Hey, thanks to help me with that. I started fresh to have a truly reproducible process, so you can have all information and rule out some error possibilities. - Uninstall all python. - Check that PythonPath doesn't exist anymore - check that python doesn't exist anymore - install python 3.2.5

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-05-28 Thread Adrian Klaver
On 05/28/2015 08:54 AM, Rémi Cura wrote: ​Hey thanks for the help ! > Hey dear List, > > On a windows XP 64. > > I installed python (64b), > it works. What version of Python 2 or 3 or both? What does python -V show at the command line? Python 3.2 and python 2.

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-05-28 Thread Alban Hertroys
> On 28 May 2015, at 17:54, Rémi Cura wrote: > > I tried: > > C:\Python32>python.exe > > Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on > win32 Ehm, this seems significant? ---^ It looks l

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-05-28 Thread Rémi Cura
​Hey thanks for the help ! > > Hey dear List, > > > > On a windows XP 64. > > > > I installed python (64b), > > it works. > > What version of Python 2 or 3 or both? > > What does python -V show at the command line? > Python 3.2 and python 2.6, both 64bits are installed on the PC. Whe

Re: [GENERAL] Python 3.2 XP64 and Numpy...

2015-05-27 Thread Adrian Klaver
On 05/27/2015 09:49 AM, Rémi Cura wrote: Hey dear List, On a windows XP 64. I installed python (64b), it works. What version of Python 2 or 3 or both? What does python -V show at the command line? CReating plpython3u works, and python works within database. I installed numpy (manually com

[GENERAL] Python 3.2 XP64 and Numpy...

2015-05-27 Thread Rémi Cura
Hey dear List, On a windows XP 64. I installed python (64b), it works. CReating plpython3u works, and python works within database. I installed numpy (manually compiled,64b), it works outside of Postgres, but inside a plpython3u function, simply doing 'import numpy' raises an error saying that p