mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #319 from JeffPaine/patch-1
Update brew installation commands
This commit is contained in:
@@ -54,7 +54,7 @@ line at the bottom of your ``~/.bashrc`` file
|
|||||||
|
|
||||||
Now, we can install Python 2.7: ::
|
Now, we can install Python 2.7: ::
|
||||||
|
|
||||||
$ brew install python --framework
|
$ brew install python
|
||||||
|
|
||||||
This will take a minute or two. Once that's complete, you'll have to add the
|
This will take a minute or two. Once that's complete, you'll have to add the
|
||||||
new Python scripts directory to your ``PATH``
|
new Python scripts directory to your ``PATH``
|
||||||
@@ -63,11 +63,6 @@ new Python scripts directory to your ``PATH``
|
|||||||
|
|
||||||
export PATH=/usr/local/share/python:$PATH
|
export PATH=/usr/local/share/python:$PATH
|
||||||
|
|
||||||
The ``--framework`` option tells Homebrew to compile a Framework-style Python
|
|
||||||
build, rather than a UNIX-style build. The outdated version of Python that
|
|
||||||
Snow Leopard comes packaged with is built as a Framework, so this helps avoid
|
|
||||||
some future module installation bugs.
|
|
||||||
|
|
||||||
|
|
||||||
Distribute & Pip
|
Distribute & Pip
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user