ModuleNotFoundError: No module named 'sklearn'
Full error message
I want to import scikit-learn, but there isn't any module apparently: ModuleNotFoundError: No module named 'sklearn' I am using Anaconda and Python 3.6.1. When I use the command: conda install scikit-learn, should this not just work? Where does Anaconda install the package? I was checking the frameworks in my Python library, and there was nothing about sklearn, only NumPy and SciPy.
Solutionsource: stackoverflow \u2197
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
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/f658cb9b729933bea4698ce27997296ce30826b77ad762967d30ae8b8b05f574hash \u00b7 f658cb9b729933bea4698ce27997296ce30826b77ad762967d30ae8b8b05f574