

In particular under Linux is itĭiscouraged to install pip packages alongside the packages managed by the Version of scikit-learn with pip or conda and its dependencies independently ofĪny previously installed Python packages. Using such an isolated environment makes it possible to install a specific Strongly recommended to use a virtual environment (venv) or a conda environment.

Note that in order to avoid potential conflicts with other packages it is

Python3 -m pip show scikit-learn # to see which version and where scikit-learn is installed python3 -m pip freeze # to see all packages installed in the active virtualenv python3 -c "import sklearn sklearn.show_versions()" python -m pip show scikit-learn # to see which version and where scikit-learn is installed python -m pip freeze # to see all packages installed in the active virtualenv python -c "import sklearn sklearn.show_versions()" python -m pip show scikit-learn # to see which version and where scikit-learn is installed python -m pip freeze # to see all packages installed in the active virtualenv python -c "import sklearn sklearn.show_versions()" python -m pip show scikit-learn # to see which version and where scikit-learn is installed python -m pip freeze # to see all packages installed in the active virtualenv python -c "import sklearn sklearn.show_versions()" conda list scikit-learn # to see which scikit-learn version is installed conda list # to see all packages installed in the active conda environment python -c "import sklearn sklearn.show_versions()"
