Install scikit-learn with Python3.7

First, I tried pip

$ pip install scikit-learnCommand "/Users/ore/Desktop/venv/ml/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/vd/8zl261fj35j8pst5659glmjc0000gn/T/pip-install-gt9p4vx3/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/var/folders/vd/8zl261fj35j8pst5659glmjc0000gn/T/pip-record-uj3493k9/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kj/Desktop/venv/ml/include/site/python3.7/scikit-learn" failed with error code 1 in /private/var/folders/vd/8zl261fj35j8pst5659glmjc0000gn/T/pip-install-gt9p4vx3/scikit-learn/

But, this didn’t work.

$ pip install -U cython
$ pip install -e git+https://github.com/scikit-learn/scikit-learn@master#egg=scikit-learn
$ pip list | grep scikit-learnscikit-learn 0.20.dev0

Written by

#CreativeCoding #Art #PhysicalComputing #IoT #MachineLearning #python #creativetech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store