ModuleNotFoundError: No module named ‘sklearn’

I want to import sklearn but there is no module apparently: I am using Anaconda and Python 3.6.1; I have checked everywhere but still can’t find answers. 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 … Read more

Conda version pip install -r requirements.txt –target ./lib

To create an environment named py37 with python 3.7, using the channel conda-forge and a list of packages: Flags explained: -y: Yes, do not ask for confirmation. –force-reinstall: Install the package even if it already exists. -q: Quiet, do not display progress bar. -c: Channels, additional channels to search for packages. These are URLs searched in the … Read more

Anaconda vs. miniconda

The difference is that miniconda is just shipping the repository management system. So when you install it there is just the management system without packages. Whereas with Anaconda, it is like a distribution with some built in packages. Like with any Linux distribution, there are some releases which bundles lots of updates for the included … Read more

ModuleNotFoundError: No module named ‘sklearn’

I want to import sklearn but there is no module apparently: I am using Anaconda and Python 3.6.1; I have checked everywhere but still can’t find answers. 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 … Read more