I get an error when I try to install sckit-learn on Linux Jetson using the command:
pip3 install scikit-learnThe error message shows:
"/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-_6p4l1qb/numpy/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-ttk4rc2k-record/install-record.txt
--single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-_6p4l1qb/numpy/Does anyone know why I get this error and how to fix it?
21 Answer
The scikit-learn software is packaged in APT, so you can install it with
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install python3-sklearnand then proceed with Getting Started.
8