[Numpy-discussion] Can not import image module

Todd Miller jmiller at stsci.edu
Tue Jun 29 10:38:02 CDT 2004


On Tue, 2004-06-29 at 07:14, Nadav Horesh wrote:
> >>> from numarray import image

I tried this and it worked fine for me under RH9.0 and Python-2.3.4 and
also under Windows 2000 pro.  I suggest deleting your entire numarray
directory from site-packages and then re-installing.  Also, what's your
platform and shell?

Regards,
Todd

> Traceback (most recent call last):
>   File "<pyshell#4>", line 1, in -toplevel-
>     from numarray import image
>   File "/usr/local/lib/python2.3/site-packages/numarray/image/__init__.py", line 2, in -toplevel-
>     from combine import *
>   File "/usr/local/lib/python2.3/site-packages/numarray/image/combine.py", line 65, in -toplevel-
>     _median = _combine.median
> AttributeError: 'module' object has no attribute 'median'
> 
> 
> 
> numarray version: 1.0. I got this error also with version 0.9
> 
>   Nadav.
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
-- 
Todd Miller
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4576





More information about the Numpy-discussion mailing list