brew如何安装python3.6

2024-09-30 01:23:37 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一台mac电脑,想安装python 3.6 我试过:

$brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb 

但是得到:

Error: Calling Installation of python from a GitHub commit URL is disabled! Use 'brew extract python' to stable tap on GitHub instead.

所以我试着:

$brew extract python https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb

但是得到:

Error: Invalid tap name 'https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb'

我该怎么办


Tags: httpscoregithubcomrawextracterrortap

热门问题