Error importing package. Skimage, Scipy or Macports error?

bricklemacho bricklemacho at gmail.com
Sun Sep 23 03:48:53 EDT 2012


I am trying to run the plot_hog.py demo an I get the error below.    If I 
copy skimage/feature/hog.py and import form the current working directory 
the plot_hog.py runs.  

The error seems to be something to do with importing match_template.    Not 
sure where to start , all packages were installed via macports.   Is this a 
scikits-image, scipy or a macports issue? 

Any help appreciated, error message below.

Brickle.

-------------
$ python plot_hog.py 
Traceback (most recent call last):
  File "scikitsHoG.py", line 1, in <module>
    from skimage.feature import hog
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/skimage/feature/__init__.py", 
line 5, in <module>
    from .template import match_template
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/skimage/feature/template.py", 
line 4, in <module>
    from . import _template
  File "_template.pyx", line 36, in init skimage.feature._template 
(skimage/feature/_template.c:3980)
  File 
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/__init__.py", 
line 198, in <module>
    from spline import *
ImportError: 
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so, 
2): Symbol not found: ___ieee_divdc3
  Referenced from: 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so
  Expected in: flat namespace
 in 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20120923/0d8934ea/attachment.html>


More information about the scikit-image mailing list