Skip to content

added high_sierra setup instructions #898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

bnorquist
Copy link
Contributor

No description provided.

@kennethreitz
Copy link
Contributor

$ brew link python i believe

@bnorquist
Copy link
Contributor Author

that would link python 2 in the case where you have a user installed 2.7 as well though no?

@charliesneath
Copy link

charliesneath commented May 25, 2018

@bnorquist Adding the following line to ~/.bash_profile (not ~/.profile) fixed this issue for me:

export PATH="~/Library/Python/3.6/bin:$PATH"

This fix is actually noted in the documentation in this section's note, but it references ~/.local as the typical output example, instead of the example above that is relevant to macOS users.

@cwfinn
Copy link

cwfinn commented Jul 12, 2018

Not sure why this was closed. Following the instructions here will not work as stated. It says, under the "Working with Python 3" section:

$ python

will launch the homebrew-installed Python 3 interpreter. But it will not under the instructions as they currently stand. It will launch the version of Python shipped with MacOS, since the stated path, export PATH=/usr/local/bin:/usr/local/sbin:$PATH is now incorrect, as stated and corrected for in this PR and the corresponding issue. Something needs to be added here, otherwise many people will become confused.

@jmmendivil
Copy link

$ brew link python i believe

It's not the solution, see

$ brew link python
Warning: Already linked: /usr/local/Cellar/python/3.7.0
To relink: brew unlink python && brew link python
$ python --version
Python 2.7.10

the solution I found (for a High Sierra clean install) is based on this PR. I too wonder why @kennethreitz closed this...

@bnorquist
Copy link
Contributor Author

bnorquist commented Nov 16, 2018

Just went through this again on a new computer. @kennethreitz brew unlink python && brew link python doesn't work. If you follow the instructions here: https://docs.python-guide.org/starting/install3/osx/ on High Sierra python will still point to system python 2.7. I get the same behavior as @jmmendivil above.

@dbader
Copy link
Member

dbader commented Nov 16, 2018

Hey so I'd love to get the macOS install guide updated so that the steps work correctly with a new Mojave install.

Anybody here want to spin up a macOS VM & update the article?

@bnorquist
Copy link
Contributor Author

@dbader #936
just tested these steps on a Mojave vm, works just fine.

@dbader dbader reopened this Nov 20, 2018
@dbader dbader closed this Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants