@@ -31,32 +31,9 @@ There are different ways to get scikit-learn installed:
31
31
Installing the latest release
32
32
=============================
33
33
34
- Scikit-learn requires:
35
-
36
- - Python (>= 3.5)
37
- - NumPy (>= 1.11.0)
38
- - SciPy (>= 0.17.0)
39
- - joblib (>= 0.11)
40
-
41
- Scikit-learn plotting capabilities (i.e., functions start with "plot\_ "
42
- and classes end with "Display") require Matplotlib (>= 1.5.1). For running the
43
- examples Matplotlib >= 1.5.1 is required. A few examples require
44
- scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0.
45
-
46
- .. warning ::
47
-
48
- Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4.
49
- Scikit-learn now requires Python 3.5 or newer.
50
-
51
34
If you already have a working installation of numpy and scipy,
52
- the easiest way to install scikit-learn is using ``conda `` (see the
53
- `instructions for downloading conda
54
- <https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html> `_)::
55
-
56
- conda install scikit-learn
57
-
58
- or ``pip ``.
59
- In that case, in order to avoid any OS dependent issue it is strongly
35
+ the easiest way to install scikit-learn is using ``pip ``.
36
+ In that case, in order to avoid modifying system state it is strongly
60
37
recommended to use python3 ``virtualenv ``
61
38
(see `python3 virtualenv documentation
62
39
<https://docs.python.org/3/tutorial/venv.html> `_).
@@ -73,6 +50,11 @@ or on Linux::
73
50
source .myenv/bin/activate
74
51
pip install -U scikit-learn
75
52
53
+ or ``conda `` (see the
54
+ `instructions for downloading conda
55
+ <https://docs.conda.io/projects/conda/en/latest/user-guide/install/download.html> `_)::
56
+
57
+ conda install scikit-learn
76
58
77
59
If you have not installed NumPy or SciPy yet, you can also install these using
78
60
conda or pip. When using pip, please ensure that *binary wheels * are used,
@@ -83,6 +65,17 @@ a Raspberry Pi).
83
65
If you must install scikit-learn and its dependencies with pip, you can install
84
66
it as ``scikit-learn[alldeps] ``.
85
67
68
+ Scikit-learn plotting capabilities (i.e., functions start with "plot\_ "
69
+ and classes end with "Display") require Matplotlib (>= 1.5.1). For running the
70
+ examples Matplotlib >= 1.5.1 is required. A few examples require
71
+ scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0.
72
+
73
+ .. warning ::
74
+
75
+ Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4.
76
+ Scikit-learn now requires Python 3.5 or newer.
77
+
78
+
86
79
.. note ::
87
80
88
3AF7
81
For installing on PyPy, PyPy3-v5.10+, Numpy 1.14.0+, and scipy 1.1.0+
0 commit comments