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. <br><br>Xcode 8 is installed. <br><br>I see this error only with that specific module emgm pandas seems to run fine.<br><br>Regards Georg <br><div class="gmail_quote"><div dir="ltr">Sebastian Raschka <<a href="mailto:se.raschka@gmail.com">se.raschka@gmail.com</a>> schrieb am Di. 9. Mai 2017 um 17:52:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi,</div><div>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 <span style="background-color:rgba(255,255,255,0)">xcode-select -p</span></div><div>BTW does NumPy / SciPy work on your install or is it just sklearn?</div><div><br></div><div>Best,</div><div>Sebastian<br><br></div><div><div><br><br>Sent from my iPhone</div></div></div><div dir="auto"><div>On May 9, 2017, at 11:36 AM, Georg Heiler <<a href="mailto:georg.kf.heiler@gmail.com" target="_blank">georg.kf.heiler@gmail.com</a>> wrote:<br><br></div></div><div dir="auto"><blockquote type="cite"><div><div dir="ltr">Hi,<div><br></div><div>unfortunately, the c dependencies of my scikit-learn installation broke and I get the following error on osx:</div><div><pre style="box-sizing:border-box;overflow:auto;font-family:'source code pro',monospace,monospace;font-size:13.333333015441895px;padding:0px;margin-top:0px;margin-bottom:0px;line-height:20px;word-break:break-all;word-wrap:break-word;color:rgb(180,188,222);background-color:rgb(50,58,72);border:0px;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;white-space:pre-wrap;vertical-align:baseline">dlopen(/usr/local/lib/python3.6/site-packages/sklearn/svm/<a href="http://libsvm.cpython-36m-darwin.so" target="_blank">libsvm.cpython-36m-darwin.so</a>, 2): Symbol not found: __ZdlPvm
  Referenced from: /usr/local/lib/python3.6/site-packages/sklearn/svm/<a href="http://libsvm.cpython-36m-darwin.so" target="_blank">libsvm.cpython-36m-darwin.so</a> (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/<a href="http://libsvm.cpython-36m-darwin.so" target="_blank">libsvm.cpython-36m-darwin.so</a>
</pre><div>Even removing my python installation and re-installing does not seem to get this library back.</div></div><div><br></div><div>Regards,</div><div>Georg</div></div>
</div></blockquote></div><div dir="auto"><blockquote type="cite"><div><span>_______________________________________________</span><br><span>scikit-learn mailing list</span><br><span><a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a></span><br></div></blockquote></div>_______________________________________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/scikit-learn</a><br>
</blockquote></div>