[scikit-learn] Broken c dependencies

Sebastian Raschka se.raschka at gmail.com
Tue May 9 11:51:40 EDT 2017

How did you install scikit-learn, from source or via pip? Not sure since it's been a long time since I set up my macOS from scratch, but I think you need to install Xcode command line tools at least. Have you checked that it is available? E.g. Via xcode-select -p
BTW does NumPy / SciPy work on your install or is it just sklearn?


Sent from my iPhone
> On May 9, 2017, at 11:36 AM, Georg Heiler <georg.kf.heiler at gmail.com> wrote:
> Hi,
> unfortunately, the c dependencies of my scikit-learn installation broke and I get the following error on osx:
> dlopen(/usr/local/lib/python3.6/site-packages/sklearn/svm/libsvm.cpython-36m-darwin.so, 2): Symbol not found: __ZdlPvm
>   Referenced from: /usr/local/lib/python3.6/site-packages/sklearn/svm/libsvm.cpython-36m-darwin.so (which was built for Mac OS X 10.12)
>   Expected in: /usr/lib/libstdc++.6.dylib
>  in /usr/local/lib/python3.6/site-packages/sklearn/svm/libsvm.cpython-36m-darwin.so
> Even removing my python installation and re-installing does not seem to get this library back.
> Regards,
> Georg
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170509/9fb7dcbd/attachment.html>

More information about the scikit-learn mailing list