Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cca6499

Browse files
authored
Merge pull request #936 from bnorquist/mojave
Add installation instructions for osx high sierra & mojave
2 parents 61254a0 + eda3868 commit cca6499

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/starting/install3/osx.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ Once you've installed Homebrew, insert the Homebrew directory at the top
5454
of your :envvar:`PATH` environment variable. You can do this by adding the following
5555
line at the bottom of your :file:`~/.profile` file
5656

57+
.. code-block:: console
58+
59+
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
60+
61+
If you have OS X 10.12 (Sierra) or older use this line instead
62+
5763
.. code-block:: console
5864
5965
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
@@ -106,8 +112,8 @@ The rest of the guide will assume that ``python`` references Python 3.
106112
107113
# Do I have a Python 3 installed?
108114
$ python --version
109-
Python 3.6.4 # Success!
110-
# If you still see 2.7 ensure in PATH /usr/local/bin/ takes precedence over /usr/bin/
115+
Python 3.7.1 # Success!
116+
111117
112118
Pipenv & Virtual Environments
113119
-----------------------------

0 commit comments

Comments
 (0)