mac安装python3,python --version一直显示老版本
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 25/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- bash, python
调研方向
The issue mentions adding aliases to ~/.bashrc and running source ~/.bashrc after installing Python 3 on macOS. First check whether the project’s installation guidance covers this case; the issue does not name a documentation file or explicitly request a change. Done would mean the relevant guidance clearly explains how to make python --version use the newly installed version.
由索引模型根据 Issue 内容生成。
描述
mac安装python3时,需要额外在~/.bashrc中增加内容:
alias python3='/Library/Frameworks/Python.framework/Versions/3.10/bin/python3'
alias python=python3
然后source ~/.bashrc
之后 python --version就是显示新安装的版本
- 主要语言
- Python
- 星标
- 28.1k
- 派生
- 5.6k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
walter201230/Python 的其他 Issue
-
变量拼写错误未关闭
难度 1/5 1 小时以内 新手友好度 78/100
walter201230/Python#318 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
walter201230/Python#298 · 2 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 72/100
walter201230/Python#68 ·
-
难度 1/5 1 小时以内 新手友好度 62/100
walter201230/Python#11 ·
-
难度 3/5 半天 新手友好度 35/100
walter201230/Python#314 · 1 条评论 ·
查看 walter201230/Python 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 78/100
QuantConnect/Documentation#2838 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
awslabs/route53-dynamic-dns-with-lambda#67 · 1 条评论 ·
-
`SubAgents` returns a child run's `DeferredToolRequests` to the parent as a successful tool result未关闭bug pkg:harness
难度 2/5 1-3 小时 新手友好度 70/100
pydantic/pydantic-ai#12405 ·
维护者通常 1 天内回复
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
-
good first issue help wanted
难度 1/5 1 小时以内 新手友好度 82/100