File tree Expand file tree Collapse file tree 3 files changed +37
-1
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +37
-1
lines changed
Original file line number Diff line number Diff line change @@ -22,6 +22,23 @@ If you're using another version of Ubuntu (e.g. the latest LTS release), we reco
22
22
$ sudo apt-get update
23
23
$ sudo apt-get install python3.6
24
24
25
+ Working with Python 3
26
+ ---------------------
27
+
28
+ At this point, you have the system Python 2.7 available, potentially the
29
+ :ref: `Homebrew version of Python 2 <install-osx >` installed, and the Homebrew
30
+ version of Python 3 as well.
31
+
32
+ .. code-block :: console
33
+
34
+ $ python
35
+
36
+ will launch the Python 2 interpreter.
37
+
38
+ .. code-block :: console
39
+
40
+ $ python3
41
+
25
42
26
43
Setuptools & Pip
27
44
----------------
@@ -59,6 +76,7 @@ To start using this and see more information: :ref:`Virtual Environments <virtua
59
76
You can also use :ref: `virtualenvwrapper <virtualenvwrapper-ref >` to make it easier to
60
77
manage your virtual environments.
61
78
79
+
62
80
--------------------------------
63
81
64
82
This page is a remixed version of `another guide <http://www.stuartellis.eu/articles/python-development-windows/ >`_,
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ will launch the Python 2 interpreter.
90
90
91
91
$ python3
92
92
93
- will launch the Python 3 interpreter
93
+ will launch the Python 3 interpreter.
94
94
95
95
``pip3 `` and ``pip `` will both be available. If the Homebrew version of Python
96
96
2 is not installed, they will be the same. If the Homebrew version of Python 2
Original file line number Diff line number Diff line change @@ -41,6 +41,24 @@ described in the next section before you start building Python applications for
41
41
real-world use. In particular, you should always install Setuptools, as it
42
42
makes it much easier for you to use other third-party Python libraries.
43
43
44
+ Working with Python 3
45
+ ---------------------
46
+
47
+ At this point, you have the system Python 2.7 available, potentially the
48
+ :ref: `Homebrew version of Python 2 <install-osx >` installed, and the Homebrew
49
+ version of Python 3 as well.
50
+
51
+ .. code-block :: console
52
+
53
+ $ python
54
+
55
+ will launch the Python 2 interpreter.
56
+
57
+ .. code-block :: console
58
+
59
+ $ python3
60
+
61
+
44
62
Setuptools + Pip
45
63
----------------
46
64
You can’t perform that action at this time.
0 commit comments