mac上的python2安装

iiPython Release Python 2.7.18rc1 | Python.orgThe official home of the Python Programming Languagehttps://www.python.org/downloads/release/python-2718rc1/不小心把mac上的python2给删除了,发现老的nodejs项目需要pytho2,这下晕了,又得下载回来,直接安装 brew install python.不行又安装了个最新的python,

换成 brew install python@2也不行,报没有,怎么办,在网上找了下,brew不维护python2了,直接在官网上下载吧

Python Release Python 2.7.18rc1 | Python.org

以下为报错信息,记录一下,日后好搜索。

-bash: python2: command not found

Running `brew update --auto-update`...

Warning: No available formula with the name "python@2718". Did you mean python@3.8, python@3.10 or python@3.11?

==> Searching for similarly named formulae...

These similarly named formulae were found:

python@3.8                 python@3.10               python@3.11

To install one of them, run (for example):

  brew install python@3.8

==> Searching for a previously deleted formula (in the last month)...

Error: No previously deleted formula found.

==> Searching taps on GitHub...

Error: No formulae found in taps.

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值