Homebrew has pushed a lot of users onto Python 3.7 arguably prematurely:
several packages weren't ready to support it. A compatibility release,
Scikit-learn 0.19.2, is basically ready to be released, but it may take
another couple of days.

See https://github.com/scikit-learn/scikit-learn/issues/11320

As noted there
<https://github.com/scikit-learn/scikit-learn/issues/11320#issuecomment-403644634>,
you can also download Python to 3.6 with:

brew info python3
brew switch python 3.6.5




On 10 July 2018 at 14:25, Marco Fronzi <marco.fro...@gmail.com> wrote:

> Hi,
>
> My name is Marco and I am trying to install scikit-learn on my mac (OX
> 10.11.6). I installed already python3, numpy (1.8.2) and scipy, however
> when I run pip3 scikit-learn I get several errors which are listed below.
>
> Failed building wheel for scikit-learn
>
> and also:
>
> Command "/usr/local/opt/python/bin/python3.7 -u -c "import setuptools,
> tokenize;__file__='/private/tmp/pip-install-4z67z8of/scikit-
> learn/setup.py';f=getattr(tokenize, 'open', 
> open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> /private/tmp/pip-record-pbcsv1zz/install-record.txt
> --single-version-externally-managed --compile" failed with error code 1
> in /private/tmp/pip-install-4z67z8of/scikit-learn/
>
> I would appreciate any suggestion/hint to solve this issue and the
> package.
>
>
> Thank you,
>
> Marco
>
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn@python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
>
_______________________________________________
scikit-learn mailing list
scikit-learn@python.org
https://mail.python.org/mailman/listinfo/scikit-learn

Reply via email to