我按照this link about Kivy installation "Using Homebrew with pip"中的說明操作。bash:kivy:找不到命令
然而,當我試圖運行的代碼如下:
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='Hello World')
TestApp().run()
它給了我一個錯誤:
bash: kivy: command not found