[MacPorts] #36696: py27-scikits-learn: Missing ATLAS symbol on sklearn.cluster import

MacPorts noreply at macports.org
Tue Oct 23 03:51:22 PDT 2012


#36696: py27-scikits-learn: Missing ATLAS symbol on sklearn.cluster import
---------------------------------+--------------------------------
  Reporter:  Deil.Christoph@…    |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.1.2
Resolution:                      |   Keywords:
      Port:  py27-scikits-learn  |
---------------------------------+--------------------------------

Comment (by Deil.Christoph@…):

 Sorry, some of the output I showed above was from
 {{{/Users/deil/Library/Python/2.7/lib/python/site-packages}}} where I have
 an installation of sklearn git master via {{{python setup.py install
 --user}}}.
 I believe the problems I describe should be there for Macports-only
 though, because I see them after setting the PYTHONPATH to the Macports
 site-packages:
 {{{
 $ export
 PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages
 $ python -c 'import sklearn.cluster'
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/sklearn/cluster/__init__.py", line 6, in <module>
     from .spectral import spectral_clustering, SpectralClustering
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/sklearn/cluster/spectral.py", line 15, in <module>
     from .k_means_ import k_means
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/sklearn/cluster/k_means_.py", line 29, in <module>
     from . import _k_means
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/sklearn/cluster/_k_means.so, 2): Symbol not found:
 _ATL_ddot
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/sklearn/cluster/_k_means.so
   Expected in: flat namespace
  in
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/sklearn/cluster/_k_means.so
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/36696#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list