@@ -13,34 +13,35 @@ If you already have Python installed, you can skip right down to "Using Pip".
13
13
Installing Python
14
14
-----------------
15
15
16
- Obviously the first thing you’ll need to do is install Python on your workstation or server. For best compatibility,
17
- install the latest version of Python 2.7 (as of this writing, that is version 2.7.11). Linux and Mac OS X systems will
18
- most likely have Python installed; it will have to be installed on Windows separately.
16
+ Obviously the first thing you’ll need to do is install Python on your workstation or server. We recommend
17
+ using the latest version of Python 3 (as of this writing, 3.6.4) for maximum performance and compatibility.
18
+ Linux and Mac OS X systems will most likely have Python installed; it will have to be installed on Windows separately.
19
19
20
20
Note that cbapi is compatible with both Python 2.7 and Python 3.x. If you already have Python 3 installed on your
21
21
system, you're good to go!
22
22
23
23
If you believe you have Python installed already, run the following two commands at a command prompt::
24
24
25
25
$ python --version
26
- Python 2.7.10
26
+ Python 3.6.4
27
27
28
28
$ pip --version
29
- pip 7.1.2 from /Users/jgarman/Desktop/Reno/homebrew/ lib/python2.7 /site-packages (python 2.7 )
29
+ pip 9.0.1 from /usr/local/ lib/python3.6 /site-packages (python 3.6 )
30
30
31
31
If “python” reports back a version of 2.6.x, 2.7.x, or 3.x.x, you’re in luck.
32
32
If “pip” is not found, don’t worry, we’ll install that shortly.
33
33
34
34
If you're on Windows, and Python is not installed yet, download the latest Python installer from the python.org website.
35
- The direct link for the Python 2.7.11 installer for Windows 64-bit platforms is
36
- https://www.python.org/ftp/python/2.7.11/python-2.7.11.amd64.msi.
35
+ We recommend using the latest version of Python 3. As of this writing, the latest version available is 3.6.4.
36
+ The direct link for the Python 3.6.4 installer for Windows 64-bit platforms is
37
+ https://www.python.org/ftp/python/3.6.4/python-3.6.4-amd64.exe.
37
38
38
39
.. image :: _static/install-windows.png
39
40
:alt: Windows installation options showing "Add python.exe to path"
40
41
:align: right
41
42
42
- Install the MSI for "all users" and in the configuration options ensure that the "Add python.exe to Path " option is
43
- installed (you will have to scroll to the end of the customization options to find this) .
43
+ Ensure that the "Add Python to PATH " option is
44
+ checked .
44
45
45
46
If for some reason you do not have pip installed, follow the instructions at this
46
47
`handy guide <http://docs.python-guide.org/en/latest/starting/installation/ >`_.
0 commit comments