gpt4 book ai didi

python - Kivy花园安装

转载 作者:行者123 更新时间:2023-12-01 02:35:47 27 4
gpt4 key购买 nike

我正在 Ubuntu 下使用 Kivy 1.10.0 开发我的 python 应用程序。我多次尝试从 Kivy Garden 安装一些软件包,并遵循以下官方说明: https://kivy.org/docs/api-kivy.garden.html

当我输入pip install kivy-garden它说:

Requirement already satisfied: kivy-garden in ./.local/lib/python2.7/site-packages Requirement already satisfied: requests in ./.local/lib/python2.7/site-packages (from kivy-garden) Requirement already satisfied: urllib3<1.23,>=1.21.1 in ./.local/lib/python2.7/site-packages (from requests->kivy-garden) Requirement already satisfied: idna<2.7,>=2.5 in ./.local/lib/python2.7/site-packages (from requests->kivy-garden) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./.local/lib/python2.7/site-packages (from requests->kivy-garden) Requirement already satisfied: certifi>=2017.4.17 in ./.local/lib/python2.7/site-packages (from requests->kivy-garden)

但是当我尝试在下一步中安装软件包时,例如:

garden install graph

它总是只是说

The program 'garden' is currently not installed. You can install it by typing: sudo apt install garden-of-coloured-lights

我真的不知道问题是什么,也无法在网络上找到适当的帮助。你发现什么错误了吗?

谢谢

最佳答案

经过一些解决办法
我这样做了
克隆花园与git克隆https://github.com/kivy-garden/garden.git
然后cd花园/垃圾箱
sudo chmod +x 花园
花园安装
示例花园安装xpopup
您可以 ln -s Garden/usr/bin/garden 使其更容易
我使用 Ubuntu 17.04
希望这有帮助

关于python - Kivy花园安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46258434/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com