May 22, 2024, 8:02 a.m. | Max Angelo Dapitilla Perin

DEV Community dev.to






answer re: ModuleNotFoundError: No module named 'sklearn'



Sep 8 '17




259




You can just use pip for installing packages, even when you are using anaconda:


pip install -U scikit-learn scipy matplotlib

This should work for installing the package.


And for Python 3.x just use pip3:


pip3 install -U scikit-learn scipy matplotlib



Open Full Answer

anaconda install learn matplotlib package pip python python 3 scikit scikit-learn scipy sklearn work

Senior Data Engineer

@ Displate | Warsaw

Senior Principal Software Engineer

@ Oracle | Columbia, MD, United States

Software Engineer for Manta Systems

@ PXGEO | Linköping, Östergötland County, Sweden

DevOps Engineer

@ Teradyne | Odense, DK

LIDAR System Engineer Trainee

@ Valeo | PRAGUE - PRA2

Business Applications Administrator

@ Allegro | Poznań, Poland