Glam Prestige Journal

Bright entertainment trends with youth appeal.

I get an error when I try to install sckit-learn on Linux Jetson using the command:

pip3 install scikit-learn

The 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?

2

1 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-sklearn

and then proceed with Getting Started.

8

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy