Skip to content
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

macOS installation troubles: python@2 is now gone from Homebrew #25951

Open
nox opened this issue Mar 12, 2020 · 5 comments
Open

macOS installation troubles: python@2 is now gone from Homebrew #25951

nox opened this issue Mar 12, 2020 · 5 comments
Labels

Comments

@nox
Copy link
Member

@nox nox commented Mar 12, 2020

The python@2 formula has been removed from Homebrew, and system's Python 2 doesn't come with pip, so pip install virtualenv fails.

@nox nox added P-mac A-build labels Mar 12, 2020
@nox
Copy link
Member Author

@nox nox commented Mar 12, 2020

I used this to reinstall virtualenv for system's Python 2.

@nox
Copy link
Member Author

@nox nox commented Mar 12, 2020

By "this" I meant https://gist.github.com/haircut/14705555d58432a5f01f9188006a04ed. It helps if I actually paste the link.

@jdm
Copy link
Member

@jdm jdm commented Mar 12, 2020

For posterity's sake: Homebrew/homebrew-core#49796

@jdm
Copy link
Member

@jdm jdm commented Mar 12, 2020

We might be able to get by with https://github.com/drolando/homebrew-deadsnakes if we don't want to go all-in on python 3 yet.

@nicoabie
Copy link

@nicoabie nicoabie commented Jul 25, 2020

For future reference: servo needs pip and virtualenv in version 2.7 of python
Without them the following error will be displayed
Python virtualenv is not installed. Please install it prior to running mach.

To overcome this run use easy install to get pip in version 2.7 of python
sudo easy_install pip
Then
pip install virtualenv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.