[MacPorts] #44802: pip install -U numpy scipy scikit-learn

MacPorts noreply at macports.org
Thu Aug 28 02:38:11 PDT 2014


#44802: pip install -U numpy scipy scikit-learn
----------------------------+--------------------------------
 Reporter:  chairman0102@…  |      Owner:  macports-tickets@…
     Type:  request         |     Status:  new
 Priority:  High            |  Milestone:
Component:  ports           |    Version:  2.3.1
 Keywords:                  |       Port:
----------------------------+--------------------------------
 pip install -U numpy scipy scikit-learn

 >>> from sklearn import svm
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Python/2.7/site-packages/sklearn/svm/__init__.py", line
 13, in <module>
     from .classes import SVC, NuSVC, SVR, NuSVR, OneClassSVM, LinearSVC
   File "/Library/Python/2.7/site-packages/sklearn/svm/classes.py", line 1,
 in <module>
     from .base import BaseLibLinear, BaseSVC, BaseLibSVM
   File "/Library/Python/2.7/site-packages/sklearn/svm/base.py", line 8, in
 <module>
     from . import libsvm, liblinear
   File "__init__.pxd", line 155, in init sklearn.svm.libsvm
 (sklearn/svm/libsvm.c:9130)
 ValueError: numpy.dtype has the wrong size, try recompiling


 i can't use scikit-learn  help me  thanks

-- 
Ticket URL: <https://trac.macports.org/ticket/44802>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list