1
Install Python
Install 64-bit Python 3.10 or newer.
2
Create Virtual Environment
Run `python -m venv sklearn-env` to create a virtual environment.
3
Activate Virtual Environment
Activate it using `sklearn-env\Scripts\activate` on Windows or `source sklearn-env/bin/activate` on macOS/Linux.
4
Install Scikit-learn
Install the library with `pip install -U scikit-learn`.
5
Import and Use
Import scikit-learn modules in your Python code and start building models.