1

I am trying to utilize the Python library Scikit-Learn on my Raspberry Pi 2 for machine learning. I have used pip install scikit-learn, pip3 install scikit-learn, and pip install -U scikit-learn. When I try, this message comes up:

Command "/usr/bin/python -u -c "import setuptools,
tokenize;file='/tmp/pip-build-vOeVw5/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 /tmp/pip-yngTA7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-vOeVw5/scikit-learn/

So how can I get this library active? I'd aprecciate any help.

Mohammad Yusuf
  • 16,554
  • 10
  • 50
  • 78
PiGuy
  • 41
  • 8

0 Answers0