<p>My first guess would the the PYTHONPATH... Could you have a look to see if adding scikits-image root directory makes any difference? </p>
<p>Brian</p>
<div class="gmail_quote">On Sep 23, 2012 8:48 AM, "bricklemacho" <<a href="mailto:bricklemacho@gmail.com">bricklemacho@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>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.  <br><br>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? <br>
<br>Any help appreciated, error message below.<br><br>Brickle.<br><br>-------------<br>$ python plot_hog.py <br>Traceback (most recent call last):<br>  File "scikitsHoG.py", line 1, in <module><br>    from skimage.feature import hog<br>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/skimage/feature/__init__.py", line 5, in <module><br>    from .template import match_template<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/skimage/feature/template.py", line 4, in <module><br>
    from . import _template<br>  File "_template.pyx", line 36, in init skimage.feature._template (skimage/feature/_template.c:3980)<br>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/__init__.py", line 198, in <module><br>
    from spline import *<br>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<br>  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so<br>
  Expected in: flat namespace<br> in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/scipy/signal/spline.so<br></blockquote></div>