[Tutor] numpy import failure

Ezra Kahn ewedub at u.washington.edu
Mon Feb 28 16:34:45 CET 2011


On 2/27/2011 9:36 PM, tutor-request at python.org wrote:
> Date: Sun, 27 Feb 2011 18:58:46 -0800
> From: Andre' Walker-Loud<walksloud at gmail.com>
> To: Ezra Kahn<ewedub at u.washington.edu>
> Cc:tutor at python.org
> Subject: Re: [Tutor] numpy import failure
> Message-ID:<75198436-F849-4994-8D48-1726C2EE7A56 at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Ezra,
>
> Are you using Mac OSX or LINUX or ...
>
> If you have a preexisting python installation, it may be that when you launch python, it loads the older version, and not the new EPD version.  When you launch python, what do you see?  For example, on my Mac OSX, launched from Terminal, I get
>
> % python
> Enthought Python Distribution --http://www.enthought.com
> Version: 6.2-2 (32-bit)
>
> Python 2.6.5 |EPD 6.2-2 (32-bit)| (r265:79063, May 28 2010, 15:13:03)
> [GCC 4.0.1 (Apple Inc. build 5488)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> >>>  
> whereas, if I use an older version, I get
>
> % python
> Python 2.6.6 (r266:84374, Aug 31 2010, 11:00:51)
> [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> >>>  
> You need to get the equivalent of the first option.  If you are definitely launching the Enthought python (from your new installation) and getting this error, then there is a problem with the package build on your machine.
>
>
> Andre
Thanks again for your responses.  I am using MS Windows 7, and it turns 
out there was a problem with build and re-installing EPD fixed it.  I 
appreciate the help, I am so new at this, I don't know if things aren't 
working because it is me, or because something else is wrong (I feel 
like a person who has known how to drive for years, but never bothered 
to look under the hood of the car).  Anyway, thanks again.

Ezra


More information about the Tutor mailing list