Skip to content

Commit 4f0c361

Browse files
committed
Merge pull request apache#444 from mateiz/py-version
Clarify that Python 2.7 is only needed for MLlib
2 parents 59f475c + 2ffdaef commit 4f0c361

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/mllib-guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ depends on native Fortran routines. You may need to install the
2121
if it is not already present on your nodes. MLlib will throw a linking error if it cannot
2222
detect these libraries automatically.
2323

24-
To use MLlib in Python, you will also need [NumPy](http://www.numpy.org) version 1.7 or newer.
24+
To use MLlib in Python, you will need [NumPy](http://www.numpy.org) version 1.7 or newer
25+
and Python 2.7.
2526

2627
# Binary Classification
2728

docs/python-programming-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ In addition, PySpark fully supports interactive use---simply run `./bin/pyspark`
5252

5353
# Installing and Configuring PySpark
5454

55-
PySpark requires Python 2.7 or higher.
55+
PySpark requires Python 2.6 or higher.
5656
PySpark applications are executed using a standard CPython interpreter in order to support Python modules that use C extensions.
5757
We have not tested PySpark with Python 3 or with alternative Python interpreters, such as [PyPy](http://pypy.org/) or [Jython](http://www.jython.org/).
5858

@@ -152,7 +152,7 @@ Many of the methods also contain [doctests](http://docs.python.org/2/library/doc
152152
# Libraries
153153

154154
[MLlib](mllib-guide.html) is also available in PySpark. To use it, you'll need
155-
[NumPy](http://www.numpy.org) version 1.7 or newer. The [MLlib guide](mllib-guide.html) contains
155+
[NumPy](http://www.numpy.org) version 1.7 or newer, and Python 2.7. The [MLlib guide](mllib-guide.html) contains
156156
some example applications.
157157

158158
# Where to Go from Here

0 commit comments

Comments
 (0)