最近在用homebrew安裝的時(shí)候出現(xiàn)了python@3.9: wrong number of arguments (given 1, expected 0)
錯(cuò)誤慌核,在網(wǎng)上翻了一會(huì)兒終于找到了解法读跷,貼出來(lái)供大家參考。
The exact commands to fix this:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --switch /Applications/Xcode-beta.app
... and then rerun the brew install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
注意伪阶,第二個(gè)指定xcode的地方腺办,我操作的時(shí)候是把-beta
刪除的腕扶,要不然找不到APP。
弄完后再安裝就直接搞定了雌续。祝好運(yùn)!