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

Analyst, Data Analytics

@ T. Rowe Price | Owings Mills, MD - Building 4

Regulatory Data Analyst

@ Federal Reserve System | San Francisco, CA

Sr. Data Analyst

@ Bank of America | Charlotte

Data Analyst- Tech Refresh

@ CACI International Inc | 1J5 WASHINGTON DC (BOLLING AFB)

Senior AML/CFT & Data Analyst

@ Ocorian | Ebène, Mauritius