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

Pip and other aliases in Mac Catalina / ZSH #1018

Open
payamazadi opened this issue Nov 19, 2019 · 2 comments
Open

Pip and other aliases in Mac Catalina / ZSH #1018

payamazadi opened this issue Nov 19, 2019 · 2 comments

Comments

@payamazadi
Copy link

Mac Catalina uses ZSH by default. Which is what you'll get if you buy a new Mac.
If you follow the guide, https://docs.python-guide.org/starting/install3/osx/#pipenv-virtual-environments, at the end, if you just run "pip" in your terminal, it will not be found.

After I changed the default terminal to bash, and reinstalled python with brew, then running "pip --version" gives pip version 3 as expected.

@sandrogisler
Copy link

sandrogisler commented Jan 16, 2020

Note that under the newest macOS, python3 is already installed.
For that general point requiring updates to the descriptions, I opened
#1032

@brennanyoung
Copy link

Yes, I followed the instructions on Installing Python 3 on Mac OS X closely on my new M3 running Sonoma and it simply didn't work. The doc talks about the bash shell, but the default shell has been zsh for quite a while. The homebrew install instructions do not work, This doc desperately needs an update.

I am not a python novice. I have been doing python development on Windows for years, and it is so much easier to get up and running on that system. I can also remember that python used to "just work" on Mac, but those days are over, and these Installation docs are not much help.

After a lot of faffing about, visiting another page about homebrew I finally got something working with homebrew, so now python3 is installed, and I enter the python environment when I type python3 but the aliases python and pip give me "command not found". I do not know where to go from here. I thought homebrew was supposed to take care of all that stuff.

I am not looking for tech support, I just want to point out that the current instructions are simply not adequate for a wide range of Mac installations. If someone like me, with python development experience, sitting at a new Mac can't actually install python following your instructions, well, Houston, we have a problem.

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

No branches or pull requests

3 participants