Skip to content

Commit cba514b

Browse files
MechCoderlarsmans
authored andcommitted
DOC: Explicit instructions for Python3
1 parent 9add691 commit cba514b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

doc/install.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,19 @@ Installing build dependencies
8080

8181
Installing from source requires you to have installed the scikit-learn runtime
8282
dependencies, Python development headers and a working C/C++ compiler.
83-
Under Debian-based operating systems, which include Ubuntu,
84-
you can install all these requirements by issuing::
83+
Under Debian-based operating systems, which include Ubuntu, if you have
84+
Python 2 you can install all these requirements by issuing::
8585

8686
sudo apt-get install build-essential python-dev python-setuptools \
8787
python-numpy python-scipy \
8888
libatlas-dev libatlas3gf-base
8989

90+
If you have Python 3::
91+
92+
sudo apt-get install build-essential python3-dev python3-setuptools \
93+
python3-numpy python3-scipy \
94+
libatlas-dev libatlas3gf-base
95+
9096
On recent Debian and Ubuntu (e.g. Ubuntu 13.04 or later) make sure that ATLAS
9197
is used to provide the implementation of the BLAS and LAPACK linear algebra
9298
routines::

0 commit comments

Comments
 (0)