Scikit-Learn Installation in Ubuntu 20.04 – Step-by-step

July 9, 2023 | By the+gnu+linux+evangelist.

Installing

  1. 2. Installing Anaconda Python

    How to Install Anaconda Python in GNU/Linux

    Because Anaconda is the Best Choice for Data Science Computation!
    In any case, instead to Install simply the System Python Package run:

    pip install scikit-learn
  2. 3. Testing Python Scikit-Learn

    So now just Test the Python Scikit-Learn
    In case of Anaconda, the way is of Creating a separate Virtual Environment to house the components.
    With conda Package Manager like:

    conda create -n sklearn

    And then to Activate it:

    conda activate sklearn

    Now to Show the NumPy Info Notice:

    pip show scikit-learn

    Or else try to Import the Module in Python CLI:

    python
    import sklearn

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress