jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1k stars 266 forks source link

Error: python@3.9: unknown keyword: only_if #176

Open waymen opened 3 years ago

waymen commented 3 years ago

whay

waymen commented 3 years ago

Installing virt-manager from jeffreywildman/virt-manager Error: python@3.9: unknown keyword: only_if

oneboy232 commented 3 years ago

how to solve this problem

oneboy232 commented 3 years ago

xxxxx@localhost ~ % brew install python@3.9 Error: python@3.9: unknown keyword: only_if

guozesheng commented 3 years ago

That looks like your brew is not up to date. Can you run brew update to ensure everything is up to date before running brew install python@3.9?

oneboy232 commented 3 years ago

I somehow set the brew origin to https://mirrors.ustc.edu.cn/homebrew-cask.git, and it should be https://mirrors.ustc.edu.cn/brew.git use git -C "/opt/homebrew" remote set-url origin https://mirrors.ustc.edu.cn/brew.git. it is ok

TeddyHC commented 3 years ago

only restart mac... recovered