realpython / realpython/python-guide

Pip and other aliases in Mac Catalina / ZSH

未关闭
#1,018 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Batchfile
星标
29.8k
派生
5.9k
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从链接的 Python Guide URL 中 macOS 的 pipenv 虚拟环境部分开始,并在 Catalina 的默认 ZSH shell 中重现文档中的命令。检查报告中的 pip 命令以及它与 Bash 和 Homebrew 的差异;完成标准是该指南解释或解决新 macOS 用户缺少 pip 别名的问题。

由索引模型根据 Issue 内容生成。

评估

技术栈
python, zsh
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。