Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Statistics...help with numpy/scipy install

Reply
Thread Tools

Statistics...help with numpy/scipy install

 
 
Oscar Benjamin
Guest
Posts: n/a
 
      02-11-2013
On 10 February 2013 22:14, Rex Macey <> wrote:
> I should have added that the setup gives an error window "Cannot install" "Python version 3.3 required, which was not found in the registry."


Yes, you should have added this information. Are you sure that Python
3.3 is installed? Have you tried running it? e.g. when I run "python"
in my terminal I get:

oscar:~$ python
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>


>From within Python I can also query the version:
>>> import sys
>>> sys.version

'2.7.3 (default, Sep 26 2012, 21:51:14) \n[GCC 4.7.2]'

Can you get similar output to confirm that Python 3.3 is installed?


Oscar
 
Reply With Quote
 
 
 
 
David Robinow
Guest
Posts: n/a
 
      02-11-2013
On Sun, Feb 10, 2013 at 5:14 PM, Rex Macey <> wrote:
> I should have added that the setup gives an error window "Cannot install" "Python version 3.3 required, which was not found in the registry."


I'm guessing that you installed a 64-bit python and are using a 32-bit numpy.
 
Reply With Quote
 
 
 
 
Dennis Lee Bieber
Guest
Posts: n/a
 
      02-11-2013
On Sun, 10 Feb 2013 21:22:24 -0500, David Robinow <>
declaimed the following in gmane.comp.python.general:

> On Sun, Feb 10, 2013 at 5:14 PM, Rex Macey <> wrote:
> > I should have added that the setup gives an error window "Cannot install" "Python version 3.3 required, which was not found in the registry."

>
> I'm guessing that you installed a 64-bit python and are using a 32-bit numpy.


Or they somehow found/built/installed a version of Python that did
not add itself to the Windows registry at all.
--
Wulfraed Dennis Lee Bieber AF6VN
HTTP://wlfraed.home.netcom.com/

 
Reply With Quote
 
Rex Macey
Guest
Posts: n/a
 
      02-14-2013
I am sure I have python installed. I have been running it. in command line the window title is c:\python33\python.exe. The first line begins Python 3..3.0. Later in the line is the string "64 bit <AMD64>] on Win32".

Thus it appears I am trying to run a 32bit numpy with a 64bit python. (Seems like a big ole 64 bit python should be able to swallow a little 32 bittynumpy). Is there a 64bit numpy? If not why not? Can someone get on this? Seriously, I'm under the impression that I need the 64 bit python because I have a 64 bit OS.
 
Reply With Quote
 
Terry Reedy
Guest
Posts: n/a
 
      02-14-2013
On 2/13/2013 9:38 PM, Rex Macey wrote:
> I am sure I have python installed. I have been running it. in command
> line the window title is c:\python33\python.exe. The first line
> begins Python 3.3.0. Later in the line is the string "64 bit <AMD64>]
> on Win32".
>
> Thus it appears I am trying to run a 32bit numpy with a 64bit python.
> (Seems like a big ole 64 bit python should be able to swallow a
> little 32 bitty numpy). Is there a 64bit numpy? If not why not?


Ask the numpy people. I am surprised since a reason to be using 64
rather than 32 bit python is to have objects larger than 2 gigabytes and
memory larger than 4 gigabytes. Numerical/scientific programming is
relatively likely to need such.

> someone get on this? Seriously, I'm under the impression that I need
> the 64 bit python because I have a 64 bit OS.


If you look on your C: drive, you should have both 'Program Files' and
'Program Files (x86)' directories. The latter is for 32 bit programs.

--
Terry Jan Reedy

 
Reply With Quote
 
Dave Angel
Guest
Posts: n/a
 
      02-14-2013
On 02/13/2013 09:38 PM, Rex Macey wrote:
> I am sure I have python installed. I have been running it. in command line the window title is c:\python33\python.exe. The first line begins Python 3.3.0. Later in the line is the string "64 bit <AMD64>] on Win32".
>
> Thus it appears I am trying to run a 32bit numpy with a 64bit python. (Seems like a big ole 64 bit python should be able to swallow a little 32 bitty numpy). Is there a 64bit numpy? If not why not? Can someone get on this? Seriously, I'm under the impression that I need the 64 bit python because I have a 64 bit OS.
>


I can't answer the Numpy aspects, but I can tell you about 32bit versus
64bit.

A 32 bit OS can only handle 32 bit applications. It's conceivable to
build a 32bit OS that will load and run 64bit apps, but it's probably
impractical, and I don't know of anybody who has tried.

A 64bit OS can and does load both 32bit apps and 64bit apps. But once
it has loaded the app, the entire process has to be of the same
"bittedness". For Windows, that means any DLL's loaded from a 64bit
process have to be 64bit, and any DLL's loaded from a 32bit process must
be 32bit.

A python library may consist entirely of Python code, in which case it
would work for either 32bit or 64bit Python installation. But if the
library includes DLL's (which Numpy certainly would) then there have to
be separate versions of those DLL's.

Now, that library installation package may decide to include both sets
of DLL's, and just install the appropriate ones at installation time.
But that choice is entirely up to the library author.

--
DaveA
 
Reply With Quote
 
Oscar Benjamin
Guest
Posts: n/a
 
      02-14-2013
On 14 February 2013 05:29, Terry Reedy <> wrote:
> On 2/13/2013 9:38 PM, Rex Macey wrote:
>>
>> I am sure I have python installed. I have been running it. in command
>> line the window title is c:\python33\python.exe. The first line
>> begins Python 3.3.0. Later in the line is the string "64 bit <AMD64>]
>> on Win32".


I don't know why you feel the need to paraphrase this information
rather than simply paste the interpreter message into the email. The
latter would be more useful for others trying to help understand your
problem.

>> Thus it appears I am trying to run a 32bit numpy with a 64bit python.
>> (Seems like a big ole 64 bit python should be able to swallow a
>> little 32 bitty numpy). Is there a 64bit numpy? If not why not?


Because numpy/scipy make extensive use of Python's underlying binary
interfaces. These are incompatible between 32 and 64 bit Python.

> Ask the numpy people. I am surprised since a reason to be using 64 rather
> than 32 bit python is to have objects larger than 2 gigabytes and memory
> larger than 4 gigabytes. Numerical/scientific programming is relatively
> likely to need such.


Yes but most people who are doing that sort of thing would just
compile their own numpy/scipy and probably wouldn't be using Windows
for the their main computations anyway. Numpy does work on 64 bit
Python but official binaries are not distributed via the sourceforge
page. Unofficial binaries are available here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy

>> someone get on this? Seriously, I'm under the impression that I need
>> the 64 bit python because I have a 64 bit OS.


I don't know about Windows 8 but I've used 32 bit Python on 64 bit XP
no problem. My impression was that 64 bit Windows (unlike OSX and most
Linux distros) ships with 32 bit duplicates of all its libraries so
that it can run 32 bit applications without modification. My Windows
usage significantly predates Windows 8, though so this may have
changed some time ago.


Oscar
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to Un-Install and Re-install IE6? Sens Fan Happy In OH Computer Support 3 07-11-2005 04:37 PM
Ghost Console version 8 Remote Client install will not install to remote pc Ed Computer Support 3 03-18-2005 05:18 PM
XP Pro Install - Can't Install pro_seg5.swf Luke O'Malley Computer Support 1 12-05-2004 07:15 AM
Can't seem to boot from XP install CD (after botched Linux install) Cloud Burst Computer Support 3 05-22-2004 02:52 PM
How to determine JDK install directory and/or do silent install of J2SE? RJGraham Java 8 02-14-2004 02:19 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57