realpython / realpython/python-guide

Pip and other aliases in Mac Catalina / ZSH

Open
#1,018 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Batchfile
Stars
29.8k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the macOS pipenv virtual-environments section at the linked Python Guide URL and reproduce the documented commands in Catalina's default ZSH shell. Check the reported pip command and the contrast with Bash and Homebrew; done means the guide explains or resolves the missing pip alias for new macOS users.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, zsh
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.