Opened 10 years ago

Last modified 10 years ago

#44802 closed defect

pip install -U numpy scipy scikit-learn — at Initial Version

Reported by: chairman0102@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port:

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.