[Numpy-discussion] Unable to install numpy-1.3.0 on WinXP (without Administrative rights)

2010-02-17 Thread Touisteur EmporteUneVache
Hi,

I'm trying to install numpy on a WinXP system, on which I have no
administrative rights.

Installation of Python-2.6 went OK, but the windows installer that I
downloaded on sourceforge for numpy (numpy-1.3.0-win32
-superpack-python2.6.exe) gives me an error pop-up window Executing numpy
installer failed.

And when I ask the installer for the details, here's the displayed log :

Output folder: C:\Windows\Temp
   Install dir for actual installers is C:\DOCUME~1\user1\LOCALS~1\Temp
   Target CPU handles SSE2
   Target CPU handles SSE3
   native install (arch value: native)
   Install SSE 3
   Extract: *numpy*-1.3.0-sse3.exe... 100%
   Execute: C:\Windows\Temp\*numpy*-1.3.0-sse3.exe
   Completed

And of course then, typing import numpy in a python shell will just give
ImportError: No module named numpy.

Seems I'm not the only one that encountered the problem ( see
http://old.nabble.com/Failed-installation-on-Windows-XP-td26316987.html#a26316987).

I'm wondering if this is known and/or fixed issue (my search on the
mailing-list and tickets archives has been fruitless, but I might have not
looked at the right places), and if so, what can I do to solve it ?

Cheers,
T.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Unable to install numpy-1.3.0 on WinXP (without Administrative rights)

2010-02-17 Thread David Cournapeau
On Thu, Feb 18, 2010 at 8:24 AM, Touisteur EmporteUneVache
touist...@gmail.com wrote:
 Hi,

 I'm trying to install numpy on a WinXP system, on which I have no
 administrative rights.

I think it is not possible to install NumPy for python 2.6 if you
don't have admin priviledges. I believe the root of the problem is the
lack of a right C runtime, and there is no easy way to install it
without admin priviledges, and I have no idea how to fix this. The
problem is specific to python 2.6 (more exactly because it was built
with visual studio 2008), so using python 2.5 or 2.4 should not cause
any issue if that's an option for you.

The other solution is to ask your administrator to install the
redistributable runtime from VS 2008,

cheers,

David
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Unable to install numpy-1.3.0 on WinXP (without Administrative rights)

2010-02-17 Thread Christoph Gohlke
On 2/17/2010 7:30 PM, David Cournapeau wrote:
 On Thu, Feb 18, 2010 at 8:24 AM, Touisteur EmporteUneVache
 touist...@gmail.com wrote:
 Hi,

 I'm trying to install numpy on a WinXP system, on which I have no
 administrative rights.
 
 I think it is not possible to install NumPy for python 2.6 if you
 don't have admin priviledges. I believe the root of the problem is the
 lack of a right C runtime, and there is no easy way to install it
 without admin priviledges, and I have no idea how to fix this. The
 problem is specific to python 2.6 (more exactly because it was built
 with visual studio 2008), so using python 2.5 or 2.4 should not cause
 any issue if that's an option for you.
 
 The other solution is to ask your administrator to install the
 redistributable runtime from VS 2008,
 


If everything else fails you can try to install numpy manually: the file
numpy-1.3.0-sse3.exe, which is created in the %TEMP% directory during
the numpy-1.3.0-win32-superpack-python2.6.exe installation, is a
executable ZIP file and can be opened with any decent archive program,
e.g. WinRAR. From numpy-1.3.0-sse3.exe copy PLATLIB\numpy\* to
C:\Python26\sitepackages\numpy\ and SCRIPTS\* to C:\Python26\Scripts\.
Unlike many other packages, Numpy does not need to have the Microsoft
Visual C++ 2008 redistributable package installed to work.

To avoid the problem, numpy-1.3.0-sse3.exe could probably be linked
statically to MSVCRT9 like the bdist_wininst installers created by
Python distutils.

Christoph
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Unable to install numpy-1.3.0 on WinXP (without Administrative rights)

2010-02-17 Thread Touisteur EmporteUneVache

On 2/18/2010 at 15:04, Christoph Gohlke wrote:

 On 2/17/2010 7:30 PM, David Cournapeau wrote:
 On Thu, Feb 18, 2010 at 8:24 AM, Touisteur EmporteUneVache
 touist...@gmail.com wrote:
 Hi,

 I'm trying to install numpy on a WinXP system, on which I have no
 administrative rights.

 I think it is not possible to install NumPy for python 2.6 if you
 don't have admin priviledges. I believe the root of the problem is  
 the
 lack of a right C runtime, and there is no easy way to install it
 without admin priviledges, and I have no idea how to fix this. The
 problem is specific to python 2.6 (more exactly because it was built
 with visual studio 2008), so using python 2.5 or 2.4 should not cause
 any issue if that's an option for you.

 The other solution is to ask your administrator to install the
 redistributable runtime from VS 2008,



 If everything else fails you can try to install numpy manually: the  
 file
 numpy-1.3.0-sse3.exe, which is created in the %TEMP% directory during
 the numpy-1.3.0-win32-superpack-python2.6.exe installation, is a
 executable ZIP file and can be opened with any decent archive program,
 e.g. WinRAR. From numpy-1.3.0-sse3.exe copy PLATLIB\numpy\* to
 C:\Python26\sitepackages\numpy\ and SCRIPTS\* to C:\Python26\Scripts\.
 Unlike many other packages, Numpy does not need to have the Microsoft
 Visual C++ 2008 redistributable package installed to work.

 To avoid the problem, numpy-1.3.0-sse3.exe could probably be linked
 statically to MSVCRT9 like the bdist_wininst installers created by
 Python distutils.

 Christoph

Hi David and Christoph,

Thank you both very much for your suggestions. I went for Christoph's  
workaround (manual installation) and it seems to work like a charm.

Thanks again.
Cheers!

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion