Is there a proven way to install Sklearn on Nano?

Hi ,
I searched the forum and there are several references to install sklearn but its still a little fuzzy which one truly works for Nano.
Also matplotlib and similar category libs.
I appreciate your attention.

1 Like

Hi,

Please try the following command:

$ sudo apt-get install python3-sklearn

matplotlib can be installed with pip3 directly.

Thanks.

Thx AastaLLL…installed np…I then tries to import datasets:
from sklearn.datasets import make_classification, make_regression
and got error: ModuleNotFoundError: No module named ‘numpy.testing.nosetester’
Someone at stackoverflow says this is due to numpy incompatibility and suggests installing: ```
pip3 install numpy==1.17.0
I dont wanna mess up my config/env. I have numpy version 1.19.0 installed.
Suggestions? Thx+regards

Hi,

Please check if this topic helps first:

Thanks.