Can not import image module
![](https://secure.gravatar.com/avatar/7dd64dbe40f809b9f8276bde56c872fd.jpg?s=120&d=mm&r=g)
from numarray import image
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.
![](https://secure.gravatar.com/avatar/faf9400121dca9940496a7473b1d8179.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/faf9400121dca9940496a7473b1d8179.jpg?s=120&d=mm&r=g)
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
participants (2)
-
Nadav Horesh
-
Todd Miller