[scikit-learn] Broken c dependencies

Georg Heiler georg.kf.heiler at gmail.com
Tue May 9 13:00:06 EDT 2017


I installed python via homebrew. Scikit-learn is installed via pip. Until a
few days it worked nicely. I think homebrew changed or upgraded gcc and
removed that c dependency.

Xcode 8 is installed.

I see this error only with that specific module emgm pandas seems to run
fine.

Regards Georg
Sebastian Raschka <se.raschka at gmail.com> schrieb am Di. 9. Mai 2017 um
17:52:

> Hi,
> 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?
>
> Best,
> Sebastian
>
>
>
> 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
>
> _______________________________________________
> 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/7dfccc79/attachment.html>


More information about the scikit-learn mailing list