Re: Error importing package. Skimage, Scipy or Macports error?
Thanks for the suggestion. Adding to the PYTHONPATH didn't change anything. On Sunday, 23 September 2012 16:07:47 UTC+8, Brian Holt wrote:
My first guess would the the PYTHONPATH... Could you have a look to see if adding scikits-image root directory makes any difference?
Brian On Sep 23, 2012 8:48 AM, "bricklemacho" <brickl...@gmail.com <javascript:>> wrote:
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
participants (1)
-
bricklemacho